flexÖÐʹÓÃÕýÔò±í´ïʽ
<mx:TextInput id="userName" maxChars="4" restrict="a-zA-Z0-9" />
restrict Ó÷¨:
TextField.restrict = "´Ë´¦Îª¿ÉÊäÈëµÄÄÚÈÝ";
field.restrict = "^´Ë´¦Îª½ûÖ¹ÊäÈëµÄÄÚÈÝ";
restrictÊôÐÔÖ§³ÖһЩÀàËÆÕýÔò±í´ïʽµÄÑùʽ:
field.restrict = "a-zA-z"; //Ö»ÔÊÐí´óС×Öĸ
field.restrict = "a-zA-z "; //Ö»ÔÊÐí×ÖĸºÍ¿Õ¸ñ
field.restrict = "0-9"; //Ö»ÔÊÐíÊý×Ö
field.restrict = "^abcdefg"; //³ýÁËСд×Öĸabcdefg²»ÔÊÐíÍâ,ÆäËü¶¼ÔÊÐí
field.restrict = "^a-z"; //ËùÓÐСд×Öĸ¶¼²»ÔÊÐí,µ«ÊÇ,ÆäËüÄÚÈݶ¼ÔÊÐí,°üÀ¨´óд×Öĸ
field.restrict = "0-9^5"; //Ö»ÔÊÐíÊý×Ö,µ«5ÀýÍâ
ÈÃrestrict×Ö·û°üº¬¾ßÓÐÌØÊâÒâÒåµÄ×Öĸ(ÀýÈç-ºÍ^):
field.restrict = "0-9\\-"; //ÔÊÐíÊý×ÖºÍÆÆÕÛºÅ
field.restrict = "0-9\\^"; //ÔÊÐíÊý×ÖºÍ^
field.restrict = "0-9\\\\"; //ÔÊÐíÊý×ֺͷ´Ð±¸Ü
ÄãÒ²¿ÉÒÔʹÓÃUnicodeתÒåÐòÁÐ,Ö¸¶¨ÔÊÐíµÄÄÚÈÝ.ÀýÈç:
field.restrict = "^\u001A";
×¢Òâ:ActionScriptÓÐÇø·Ö´óСдµÄ,Èç¹ûrestrictÊôÐÔÉèΪabc,ÔÊÐí×ÖĸµÄ´óдÐÎʽ(A,BºÍC)ÊäÈëʱ»á±ä³ÉСд¶Ô´ýÐÎʽ(a,bºÍc),·´Ö®ÒàÈ».restrictÊôÐÔÖ»Ó°ÏìÓû§¿ÉÒÔÊäÈëµÄÄÚÈÝ,½Å±¾¿É½«ÈκÎÎı¾·ÅÈëÎı¾×Ö¶ÎÖÐ.
Ïà¹ØÎĵµ£º
http://www.mvelopes.com/mvelopes/online_budget.php flex
×öµÄ·ÖÎöÈí¼þ
http://www.alex-uhlmann.de/flash/adobe/blog/distortionEffects/effectCube/
ÕâÍæÒ⣬Flex2µÄŤÇú±äÐÎЧ¹û£¬ºÇºÇ£¬ÓпÉÄÜÄãÓõõ½flexÖÐ
http://webmessenger.yahoo.com/
yahooµÄwebmessenger
http://www.picnik.com/app
Õâ¸öÒ²²»´í
http: ......
ÓÃFlex4¼ÓÔØFlex3µÄ×é¼þʱ£¬·¢ÏÖÁËÕâ¸öÎÊÌ⣺
µ±ÓÃsparkÌí¼ÓÒ»¸ömx×é¼þʱ²»»áÓÐÎÊÌ⣬µ«µ±Õâ¸ömx×é¼þÖл¹ÓÐÆäËû×é¼þ
ÀýÈç<mx:HBox><mx:Canvas/></mx:HBox>±»Ìí¼Óµ½<s:Group></s:Group>
(×¢£ºÍ¨¹ýAS´úÂëʹÓÃaddElement()Ìí¼Ó£¬¶ø²»ÊÇÖ±½Óдµ½mxmlÖÐ)
stage.frameRate»á˲¼ä´ïµ½1000£¡
Ö® ......
£¨Ò»£©ÈëÃÅ
Flex¼¯³ÉÒ»¸öLog¿ò¼Ü£¬¿ÉÒÔÍê³ÉºÜ¶àÓÃtrace()×ödebugʱÍê³É²»Á˵ŦÄÜ
Êä³ölogʱ¿ÉÒÔʵÏֵַȼ¶£¨¹²5+1¼¶£©£¬ÓùýÂËÆ÷Ö¸¶¨Êä³öµÄÀ࣬ÒÔ¼°Êä³ö·½Ê½£¨Ä¬ÈÏΪtrace£©
ÐèÒªÓõ½µÄÀà
¸ÃÀàλÓÚmx.logging°üÖУ¬
¹²ÐèÒªÈý¸öÀàºÍÒ»¸ö½Ó¿Ú
mx.logging.Log – Ö÷À࣬Óм¸¸ö¾²Ì¬·½·¨£¬Ìí¼Ó/ÒÆ³ýTraceTargetºÍ»ñÈ ......
http://www.k-zone.cn/zblog/post/flex-compiler-parameter.html
ÏÂÃæµÄÁбíÌṩÁËmxmlcµÄһЩ¿ÉÑ¡²ÎÊý£º
ÊôÐÔ
ÃèÊö
accessible=true|false
ÊÇ·ñ¾ßÓпÉÀí½âÐÔ
actionscript-file-encoding
ÉèÖÃÎļþ±àÂë
advanced | mxmlc -help advanced
¼ìË÷mxmlc¸ß¼¶²ÎÊý
allow-source-path-overlap=true|false
ÑéÖ¤source-pat ......
ÔÀ´ÊÇÕâÑù£¬
ÎÒÒ»¿ªÊ¼ÓõÄÊÇflex_sdk_3.4.1.10084£¨Stable Builds£©£¬£¨ÓÉÓÚsdk3.5ÓÐcomboboxµÄbug£©,µ«ÊÇÔÚÓÃRSLµÄʱºò£¬·¢ÏÖflash player µÄAssetCacheÀï¾ÍÊÇûÓÐswz,
ÔÒòÊÇ£ºÎÒÓõÄsdkÊÇStable Builds£¬ËüÊÇûÓÐswzµÄ£¬
¹ÙÍøµÄ½âÊÍÊÇ£º
The Flex team dos not currently create signed versions of the major RSL ......