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

Top 10 things new Flex developers should know

Top 10 things new Flex developers should know
By Michael Portuesi | Published: November 27, 2009
While helping a coworker get started with Flash and Flex development, I thought it would be a good time to cover the list of things that I have found pretty essential to know about Flex development, coming into it as a new developer.
Some of these items are simple details that you need to know. Others point to profound differences between Flash/ActionScript/Flex and other development environments.
Before you start
If you know HTML/CSS development, and some JavaScript, but nothing about ActionScript or Flex, you should really take the time to understand what object-oriented programming means, as ActionScript is a true object-oriented language, and Flex is an object-oriented framework.  The same advice applies if you have been doing pure timeline-based Flash development without getting much into the ActionScript stuff.
Doug Winnie of Adobe has produced an excellent article addressing this topic.  Additionally, he offers a series of free online video tutorials to get you started with ActionScript development from the perspective of a Flash developer.
1. Things happen asynchronously, even the simple stuff
Flex is a very asynchronous framework.  What does ‘asynchronous’ mean?  Basically, it means that you can’t really depend upon something happening right when you invoke the call to it in your code.  Instead, the actual consequences of an assignment, or a call to a method on an object, might happen at some arbitrary time in the future.
This is not just the case when you call a remote HTTP webservice from your Flex application; it’s also the case when you do something as simple as setting the dataProvider property for a user interface control such as a DataGrid. Behind the scenes, DataGrid performs all kinds of work that doesn’t necessarily occur at the time your code make the assignment, and you don’t neces


Ïà¹ØÎĵµ£º

Flex¿ª·¢ÕßÐèÒªÖªµÀµÄ10¼þÊÂ

Flex¿ª·¢ÕßÐèÒªÖªµÀµÄ10¼þÊÂ
×÷Õß ÕÅÁú ·¢²¼ÓÚ 2010Äê2ÔÂ18ÈÕ ÉÏÎç1ʱ25·Ö
ÉçÇø Java Ö÷Ìâ ¸»¿Í»§¶Ë/×ÀÃæ ±êÇ© Flex, Flash
²»¾ÃÇ°£¬Michael Portuesi·¢±íÁËһƪ²©ÎÄ£¬Ì¸µ½ÁËFlex¿ª·¢ÕßÐèÒªÖªµÀµÄ10¼þÊ¡£ÎÄÕ½éÉÜÁËÿ¸ö½øÈëFlexÁìÓòµÄ¿ª·¢Õ߶¼ÐèÒªÕÆÎյĻù±¾ÖªÊ¶Óë¼¼ÄÜ¡£
Michael Portuesi¸ø³öµÄ10¸öÌõÄ¿ÖУ¬ÓÐЩÊÇ¿ ......

flexÌØÐÔ¼°ÓÅȱµã

±¾Ìùת×Ô£ºhttp://smartblack.javaeye.com/blog/556202
 Ò»Ïî¼¼Êõ£¬´Ó¸ÅÄîÌá³öµ½¼¼ÊõÑз¢µ½ÉÌÒµ·¢²¼£¬ÔÙµ½Êµ¼ÊÓ¦Óã¬×îÖÕ½«²úÆ·³ÊÏÖÔÚÓû§ÃæÇ°£¬ÕâÊÇÒ»¸öÂþ³¤¶ø¸´ÔӵĹý³Ì¡£ÔÚÕâµ±ÖУ¬ºÜ¶àÓд´ÒâÓÐÉúÃüÁ¦µÄ¼¼ÊõÒòΪ¸÷ÖÖÔ­ÒòССÒź¶µØ²»ÐÒزÕÛÁË¡£FlexÄÜ×ßµ½½ñÌìȷʵ²»Ò×£¬ÏÂÃæÈÃÎÒÃÇ´Ó²»Í¬µÄ½Ç¶ÈÀ´¿´Ò»ÏÂËüÊÇÈçºÎ¹ý¹ ......

Flex easingFunction

<?xml version="1.0" encoding="utf-8"?>
<Application xmlns="http://www.adobe.com/2006/mxml"
backgroundGradientColors="[0x000000,0x000000]"
themeColor="#222222"
horizontalAlign="left"
paddingLeft="10" paddingRight="10"
creationComplete="genData();"
viewSourceURL="srcview/index.ht ......

FlexÓëwebServices½»»¥´«µÝÊý¾Ý

    ΪÁËÔÚÓ¦ÓóÌÐòÖÐʹÓÃÊý¾Ý£¬Adobe Flex °üÀ¨ÁËÓëHTTP servers£¬web services »òremoteobject services
£¨Java objects£©½øÐн»»¥µÄ×é¼þ£¬ÕâЩ×é¼þ±»³Æ֮ΪԶ³Ì¹ý³Ìµ÷Óã¨RPC£©·þÎñ×é¼þ¡£
    Óë Adobe ColdFusion£¬PHP »òÀàËƵķþÎñÆ÷¼¼Êõ²»Í¬£¬Flex Ó¦ÓóÌÐò²¢²»Ö±½ÓÁ¬½ÓÊý¾Ý
¿â¡£¾Ù ......

flex faster and faster

±¾ÎĽéÉÜһϹØÓÚflexÐÔÄÜÓÅ»¯,ÒÔ¼°flexÉú³ÉµÄµÄswf´óСÓÅ»¯.
1.¹Øµôbuild automaticly
2.רÐÄ×öÒ»¸öÏîÄ¿£¬¿ªÆðÀ´Ò»¸öflex builder
3.ÓÃflex builder¶ø²»ÓÃEclipse²å¼þ£¬ÕâÑù²»ÓÃÊÜÆäËüµÄ²å¼þµÄÓ°Ïì¡£
ÖÁÓÚºóÀ´ºÍÊý¾Ý¿âµÄ¾ÍÏȲ»ËµÁË,ÒòΪˮƽÓÐÏÞ
as3Ò»³öÀ´,flexÒ²¸ú×Å»ðÒ»°Ñ,ĿǰѧϰflexµÄÈËÒ²Ô½À´Ô½¶àÁË,µ«ÊǹúÄÚfl ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ