Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

flexѧϰ flexÖеķâ×°£¨×é¼þ£©

Ê×ÏÈ´´½¨Ò»¸ö×é¼þµÄ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:Label text="Your first name is {myFirstName}" />
<mx:Label text="Your last name is {myLastName}" />
</mx:VBox>
ÔÙ´´½¨Ò»¸öÖ÷Îļþµ÷ÓÃ×é¼þ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" xmlns:components="components.*">
<mx:Script>
<!--[CDATA[
[Bindable]
private var fName:String = "shen";
[Bindable]
private var lName:String = "cm";
]]-->
</mx:Script>
<components:MyForm myFirstName="{fName}" myLastName="{lName}" id="names"/>
<mx:Label x="350" y="200" text="My full name is {names.myFirstName} {names.myLastName}"/>
</mx:Application>


Ïà¹ØÎĵµ£º

FlexÖд°Ìå²ÎÊý´«µÝ·½·¨

http://blog.csdn.net/shuiying/archive/2009/08/19/4459419.aspx  ØâÓÚ
DELPHI C#´«µÝºÜ¼òµ¥ Õâ¸öÔõôÔõôÂé·³ÄØ

FlexÖд°Ìå²ÎÊý´«µÝ·½·¨
ÊÕ²Ø



document.body.oncopy = func ......

flexƤ·ôʹÓ÷½·¨

1¡¢ÏÂÔØƤ·ôÖ®ºó£¬´ò¿ª½âѹĿ¼,Ñ¡ÔñËùÓÐswfÎļþ,cssÎļþºÍ×ÖÌåÎļþ,È»ºó°ÑËûÃÇÍ϶¯µ½flex¹¤³ÌµÄsrcÎļþ¼ÐÖС£
    £¨×¢£ºyflexskin.swf –yahooµÄFlexƤ·ôÖÐËùÐèµÄËùÓÐͼƬ×ÊÔ´;
    yflexskin.ai – Æ¤·ôËùÐèµÄËùÓÐAIÔ´Îļþ--ʹÄãµÄÐ޸ĺÍÖØе¼³ö¸ü×ÔÓÉ·½±ã; ......

flex sessionÏà¹Ø²Ù×÷

1.д session
mxml Îļþ ¼Ó
   <mx:RemoteObject source="servlet" id="sessionObject" />  
as ÎļþÓÃÏÂÃæÓï¾äµ÷ÓÃ
   sessionObject.session("set", "foo", 30200);
2.¶Á session
mxml Îļþ ¼Ó
   <mx:RemoteObject source="servlet" id="sessionObject1" res ......

ÍøÒ³´«µÝ²ÎÊýµ½flexÖеķ½·¨

1.ÔÚ<Object>ºÍ<embed>ÖÐÉèÖÃflashVars²ÎÊý
£¬ÀýÈ磺
<object
id=’mySwf’ classid=’clsid:D27CDB6E-AE6D-11cf-96B8-444553540000′
codebase=’http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab’
height=’100%’ width=’10 ......

Flexʼþ»úÖÆ

Flexʼþ»úÖÆ
Flexʼþ»úÖÆÊǹ۲ìÕßģʽ£¬¼´Ê×ÏÈҪע²áʼþ£¬Ê¼þ·Ö·¢ºóͨ¹ýʼþÏìÓ¦º¯Êý½øÐд¦Àí¡£
ÀýÈçÔÚAS3ÖУº
button.addEventListener(“click”,onClick);//Ïòbutton×¢²áÒ»¸öclickʼþ
internal function onClick(evt:MouseEvent):void{txt.text=“click a button!”;}//ʼþÏìÓ¦º¯Êý
ÄÇÃ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ