FLEX SDK Ô´Âë
Flex
4 SDKÔ´ÂëdzÎö£¡
Èç´ó¼ÒҪתÔØ£¬Çë±£Áô±¾È˵İæȨ:
/*
*Description:PV3DÀà¼Ì³ÐÌåϵ½á¹¹
*Auther:³ç³ç-ÌìÕæµÄºÃÀ¶°¡
*MSN:chongchong2008@msn.com
*Blog:chongchong2008
*Dates:2009-06-02
*Copyright:ChongChong2008
YiChang HuBei China
*/
Flex 4 SDKÔ´ÂëdzÎö£¡
×î½üÏÂÁËFlex 4 SDK £¨flex_sdk_4.0.0.7219_mpl_src£©µÄÔ´´úÂë
´ËĿ¼Ï°üº¬ÈçÏÂÏà¹ØµÄ¼¸¸ö²¿·Ö£º
1¡£mx ºËÐÄ frameworks£¬ËüÔÚÒÔÏÂĿ¼¿ÉÒÔÕÒµ½
flex_sdk_4.0.0.7219_mpl_src -- >
frameworks -- > projects --> framework --> src --> mx
2¡£rpc frameworks£¬ËüÔÚÒÔÏÂĿ¼¿ÉÒÔÕÒµ½
flex_sdk_4.0.0.7219_mpl_src -- > frameworks
-- > projects --> rpc --> src --> mx
3¡£air framework£¬ËüÔÚÒÔÏÂĿ¼¿ÉÒÔÕÒµ½
flex_sdk_4.0.0.7219_mpl_src -- > frameworks
-- > projects --> airframework --> src --> mx
4¡£Æ¤·ôÏà¹Ø£¬ËüÔÚÒÔÏÂĿ¼¿ÉÒÔÕÒµ½
flex_sdk_4.0.0.7219_mpl_src -- > frameworks -- >
projects --> haloclassic --> src
Ò»¡£ÊìϤFlex SDK
Flex
SDKÕæµÄºÜÅӴ󣬰üÂÞÍòÏó£¬Ò»¿ªÊ¼ÕæµÄºÜÄÑÈëÊÖ£¬²»ÖªµÀ´ÓÄÄÀ↑ʼ¶Á¡£
Ê×ÏÈÊÇÊìϤFlex¶¨ÒåµÄ»ù±¾½Ó¿Ú£¬°Ñ¸÷¸ö½Ó¿Ú¶¼¿´Ò»±é¡£¾ÍÊÇÔÚflex_sdk_4.0.0.7219_mpl_src
-- > frameworks -- > projects --> framework --> src --> mx
-->core
ÀïÃæµÄ»ù±¾½Ó¿ÚÎļþ£¬ÊìϤFlexµÄUIComponent×é¼þ£¬ContainerÈÝÆ÷£¬ÌرðÊÇÒªÊìϤApplicationÀࣨÈçºÎÓëSystemManagerÀཨÁ¢ÁªÏµ£¬×齨ÊÇÈçºÎ½øÈë¶ÓÁУ¬ÔõÑùÑÓ³Ùµ÷Óã©¡£
ÊìϤUICommpontent
public function callLater(method:Function,args:Array /*
of Object */ = null):void {
methodQueue.push(new
MethodQueueElement(method, args));
var sm:ISystemManager =
systemManager;
if (sm && (sm.stage ||
sm.useSWFBridge()))
{
if
(!listeningForRender)
{
&
Ïà¹ØÎĵµ£º
-----------------ex4_01_solution------------------Creating an event and dispatching the event object
<s:Application ...
creationComplete="employeeService.send()">
»á´¥·¢£º
<!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
& ......
ÔÚflex¿ª·¢»·¾³Öбàдas3´úÂëÊǺܷ½±ãµÄ£¬½èÖúflex¿ª·¢»·¾³´úÂ붼ÓÐ×Ô¶¯Ìáʾ¹¦ÄÜ£¬µ«ÊÇÔÚ×öflashÓÎÏ·µÄʱºò£¬ÔÚÉæ¼°µ½¶Ô»°¿òµÄʱºò£¬ÎÒÓöµ½Ò»¸öºÜ¼¬ÊÖµÄÎÊÌ⣬¾ÍÊÇÔÚÃÀ¹¤ÓÃflash cs²¼¾ÖºÃÁ˵ĽçÃ棬ÎÒÔÚ½çÃæÉÏÃüÃûÁËʵÀý£¨ÈçtextfieldÀàÐÍ var nameText:String£©£¬ÔÚµ¼³öÕâ¸öÀࣨguestDialog£©µÄʱºò(Õâ¸öÀà¼Ì³Ð×ÔMovieClip ......
1¡¢as3ebaylib
http://code.google.com/p/as3ebaylib/
2¡¢as3youtubelib
http://code.google.com/p/as3youtubelib/
3¡¢as3flickrlib
http://code.google.com/p/as3flickrlib/
4¡¢Yahoo ASTRA Flash Components
http://developer.yahoo.com/flash/astra-flash/
5¡¢facebook-as3
http://code.google.com/p/faceboo ......
¿´Á˺ܶàFlexµÄÊ飬¹ØÓÚFlexµÄÉúÃüÖÜÆÚ×ÔÈÏΪÁ˽âµÄ»¹²»´í£¬µ«ÊÇͻȻÉÏÍøÉÏ¿´µ½Ò»¸ö¸çÃÇÓÃͼ±í°ÑFlex µÄApplicationÆô¶¯¹ý³ÌÒÔ¼°×Ô¶¨Òå×é¼þµÄÉúÃüÖÜÆÚ±í´ïµÄ·Ç³£ÇåÎú£¬ºÜÊÇÅå·þ£¬ÌØ·ÖÏí³öÀ´£¬ÄÚÈÝÈçÏ£º
Flex Custom Component LifeCycle
ÓÉ jexchan
׫д
¡¡http://blog.ityao.com/archives/169
......
1¡¢ÔÚflexÖУ¬²»ÄÜÖØж¨Òåinput()»òunput()£¬µ«ÊÇÄÜÖØж¨ÒåYY_INPUT£¬ËüÊÇflexµ÷ÓõĴÓÊäÈëÎļþÖжÁÈ¡Îı¾µÄºê¡£flex»º³åÇø£¬±»¶¨ÒåΪYY_BUFFER_STATEÀàÐÍ¡£Àý³Ìyy_create_buffer(FILE*,size0)Éú³ÉÖ¸¶¨´óСµÄflex»º³åÇø£¬Í¨³£ÊÇYY_BUF_SIZE£¬ÓÃÓÚ¶ÁÈ¡stdioFILE¡£¶Ôyy_swithc_to_buffer(flexbuf)µÄµ÷ÓøæËßɨÃè³ÌÐò¶ÁÈ¡ÏàÓ ......