flex ÖÐʵÏÖ×Ô¶¨Òå¹ö¶¯
ÔÚÓ¦ÓÃÖУ¬ºÜ¶à¶¼ÏëʵÏÖflexµÄ¿Ø¼þûÓйö¶¯ ¶øÊÇͨ¹ýÆäËûµÄ°´Å¥·½Ê½½øÐпؼþÄÚÈݵĹö¶¯£¬ÕâÑùʵÏֵĿªÊ¼µ±È»ÊÇÒªÉèÖÃhorizontalScrollPolicy="off" verticalScrollPolicy="off"ÁË£¬È»ºóͨ¹ýcontainerµÄhorizontalScrollPosition »òverticalScrollPositionµÄ¼Ó ¼õÀ´ÊµÏÖÄÚÈÝ×óÓÒ¡¢ÉÏϹö¶¯¡£Ë¼Â··½·¨ÍêÈ«ÕýÈ·£¬µ«ÊÇÔÚÕâÑùµÄÇ°ÌáÊÇcontainerµÄwidth»òheight²»ÄÜÓÃwidth="100%" »ò height="100%" ÕâÑùµÄ±íʾ ²»È»¾ÍËãÄãʵÏÖÁË ¹ö¶¯Ò²ÊÇÎÞЧµÄ¡£ËùÒÔwidth ºÍheightÓ¦¸ÃÊÇÖµ ¶ø²»ÊÇ°Ù·Ö±ÈÖµ¡£±ÈÈçÕâÑùдwidth={this.width} height="{this.height}" ¾Í¿ÉÒÔÁË¡£
Ïà¹ØÎĵµ£º
ÏÂͼÊÇ Microsoft Visual Studio IDE µÄ²¿·Ö½Øͼ¡£
¡¡¡¡
¡¡¡¡ÕâÊÇÒ»ÖÖ¿ÉÍ£¿¿µÄ´°¿Ú£¬´°¿Ú±êÌâÀ¸µÚ¶þ¸ö°´Å¥¿ÉÒÔ¿ØÖÆ´°¿ÚÊÇ·ñÍ£¿¿¡£´°¿Ú´¦ÓÚÍ£¿¿×´Ì¬Ê±¾Í»áÓëÖ÷½çÃæÈÚΪһÌ壬¿ÉÒÔͨ¹ýµã»÷´°¿ÚÏ·½£¨Èç¹û¿ÉÍ£¿¿´°¿Ú´¦ÓÚÕûÌå²¼¾ÖÏ·½µÄ»°£©µÄTabBarÀ´Ñ¡ÔñÏÔʾÄÄÒ»¸ö´°¿Ú£»¶ø·ÇÍ£¿¿×´Ì¬µÄ´°¿ÚÔò²»»áÕ¼¾ÝÕûÌå²¼¾ÖµÄ¿Õ¼ä£¬½ö× ......
--Ó¢ÎÄ
mxmlc -locale=en_US -allow-source-path-overlap=true
-include-resource-bundles=mf,collections,containers,controls,core,effects,formatters,logging,SharedResources,skins,states,styles,validators
-source-path=D:/UBAS_HOME/ClientCode/demo/client/code/MainFrame/assets/locale/en_US
-output=E:/ ......
Ê×ÏÈ´´½¨Ò»¸ö×é¼þµÄMXMLÎļþ
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
[CDATA[
[Bindable]
public var myFirstName:String;
[Bindable]
public var myLastName:String;
]]
</mx:Script>
<mx:La ......
ÎÒ¸öÈ˾õµÃÕâ¸ö×Ô¶¨Òåʱ¼ä·â×°ÐԺܺ㬵«ÊÇÓе㸴ÔÓ£¬²»½¨Òé¼òµ¥±à³ÌÖÐʹÓÃ
´´½¨Ò»¸öMXML×é¼þ£¬½¨×Ô¶¨Òåʼþ
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<!--[CDATA[
private function clickHandler():void{
// var m ......
×î½üÔÚÏîÄ¿ÖÐÒªÓõ½flv²¥·ÅÆ÷£¬ÓÉÓÚflex×Ô´øµÄVideoDisplay×é¼þ²»ÊǺܺÃÓ㬾Í×Ô¼º¼òµ¥ÊµÏÖÁËÒ»¸ö£¬½çÃæ²»ÊǺÜÃÀ¹Û£¬µ«¹¦Äܶ¼ÓÐÁË£¬Õý¿ÉνÂéȸËäСÎåÔà¾ãÈ«¡£ÏÂÃæÊDz¥·ÅÆ÷µÄ´úÂ룬»¹²»»áÓÃflash×öflv²¥·ÅÆ÷µÄÅóÓÑ£¬¿ÉÒԲο¼²Î¿¼¡£
Player.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="ht ......