AFLAXѧϰ¼Ç¼֮ flash»ù´¡ÖªÊ¶
ExternalInterface
ExternalInterface ÀàÊÇÍⲿ API£¬ÔÚ ActionScript ºÍ Flash Player µÄÈÝÆ÷Ö®¼äʵÏÖÖ±½ÓͨѶµÄÓ¦ÓóÌÐò±à³Ì½Ó¿Ú£¬
ÀýÈ磬º¬ÓÐ JavaScript µÄ HTML Ò³¡£ ÍƼö¶ÔËùÓÐ JavaScript Óë ActionScript Ö®¼äµÄͨÐÅʹÓà ExternalInterface¡£
ÔÚ HTML Ò³ÖÐʹÓà JavaScript£¬¿ÉÒÔµ÷Óà Flash Player ÖÐµÄ ActionScript º¯Êý¡£ ActionScript º¯Êý¿ÉÒÔ·µ»ØÒ»¸öÖµ£¬JavaScript »áÁ¢¼´½ÓÊÕËü×÷Ϊ¸Ãµ÷Óõķµ»ØÖµ¡£´Ë¹¦ÄÜÌæ´úÁË½Ï¾ÉµÄ fscommand()
Ò»¸öÖØÒªÊôÐÔ£ºavailable : Boolean [static] [read-only] ָʾ´Ë²¥·ÅÆ÷ÊÇ·ñλÓÚÌṩÍⲿ½Ó¿ÚµÄÈÝÆ÷ÖС£
×¢Ò⣺½« External API Óë HTML Ò»ÆðʹÓÃʱ£¬Ó¦Ê¼ÖÕÔÚ³¢ÊÔµ÷ÓÃÈκΠJavaScript ·½·¨Ö®Ç°Ïȼì²é HTML ÊÇ·ñÒÑÍêÈ«¼ÓÔØ¡£
Á½¸öÖØÒª·½·¨£º
addCallback(functionName:String, closure:Function):void [static] ½« ActionScript ·½·¨×¢²áΪ¿É´ÓÈÝÆ÷µ÷Óá£
call(functionName:String, ... arguments):* [static] µ÷ÓÃÓÉ Flash Player ÈÝÆ÷¹«¿ªµÄº¯Êý£¬²»´«µÝ²ÎÊý»ò´«µÝ¶à¸ö²ÎÊý¡£
×¢Ò⣺ÔÚ½« SWF ÎļþǶÈëµ½ HTML Ò³ÖÐʱ£¬ÇëÈ·±£ <object>ºÍ <embed>±êÇ©µÄ idºÍ nameÊôÐÔ²»°üÀ¨ÖîÈçÒÔϵÄ×Ö·û£º £¨¾äµã£©¡¢-¡¢+¡¢*¡¢/ ºÍ \¡£
_root _level _global
¹ØÓÚ_root£º
н¨Ò»Îļþ£¬Ò»¸öÎę̀¾Í³öÏÖÔÙÆÁÄ»ÉÏ£¬Õâ¾ÍÊÇ_root¡£¼ÙÉèÎÒÃÇ°ÑӰƬ¼ô¼¼ÓÈëµ½Îę̀£¬ÀýÈçÎÒÃÇ°Ñmc1£¬mc2¼ÓÈëÎę̀¡£
ÎÒÃǾͿÉÒÔ°Ñ_rootÀí½âΪӰƬµÄÖ÷ʱ¼äÖᣬÈκεÄӰƬ¼ô¼¶¼·ÅÔÚÕâ¸öÖ÷ʱ¼äÖáÉÏ£¬ASÓï·¨±í´ï¾ÍÊÇ_root.mc1ºÍ_root.mc2¡£ÕâÀïÎÒÃǼÙÉèmc1ÖÐÓÐӰƬ¼ô¼mc3£¬ÄÇô¾ÍÊÇ_root.mc1.mc3¡£
ÕâÀïÎÒÃÇÒª¼ÇסÕâÑùµÄÒ»Ìõ¹æÔò£ºÓÉ´óµ½Ð¡£¬ÓÉÍâ¼°ÄÚ£¬ÓÉ×îÍâΧµÄ£¬×î´óµÄÒÔµãÓï·¨Öƶ¨Ó°Æ¬¼ô¼£¬¾Í¿ÉÒÔÖªµÀӰƬ¼ô¼µÄÊôÐÔ»òÕßÆäÖеıäÁ¿¡£
¹ØÓÚ_level
Õû¸öӰƬ¿ÉÒÔ¿´×öÊÇ_level0¡£ÄÇôÎÒÃÇÕâÀï¾Í¿ÉÒÔÀí½âΪ_level0ºÍ_rootµÄЧ¹ûÊÇÏàͬµÄ£¬µ«ÔÚ¸ÅÄîÉ϶þÕßÊÇÓÐÇø±ðµÄ¡£
¹ØÓÚ_global
_globalÊÇ´ÓflashMX¿ªÊ¼ÒýÈëµÄ¸ÅÄֻÓÐflash player6»òÒÔÉϵİ汾²ÅÖ§³Ö£¬ËüÊÇÒ»¸öÈ«¾Ö±äÁ¿£¬Ò²¾ÍÊÇ˵£¬Èç¹ûÒ»¸ö±äÁ¿¡¢º¯Êý»ò¶ÔÏó±»ÉùÃ÷Ϊ_global£¬ÄÇôÔÚ_root»òӰƬ¼ô¼Àﶼ¿ÉÒÔµ÷ÓÃËü¡£
£Û£Á£Ó£³ÖУ¬²»ÔÚÓÐ_global·¶Î§ÁË,µ«ÊÇÄã¿ÉÒÔͨ¹ýÔÚÔ¤ÏȵÄpublic,privateºÍinternalÀï,ʹÓÓnamespace”À´´´½¨Äã×ÔÒѵÄÃüÃû¡££Ý
Stage
Stage ÀàÊÇÒ»¸ö¶¥¼¶À࣬²»±ØʹÓù¹Ô캯Êý¼´¿É·ÃÎÊÆä·½·¨¡¢
Ïà¹ØÎĵµ£º
¿´
ÁËһϿª·¢°åÉϵÄÍâΧÉ豸£¬¶ÔNORºÍNAND flashµÄÇø±ðûÓÐʲô¸ÅÄ¿´ÁËÕâƪÎÄÕ£¬ÓÐÁËÒ»¸ö´óÒªµÄÁ˽⣬Îҵİå×ÓÉϵÄÊÇNOR
falshºÍDRAM£¬µ½ÓÚDRAMÊÇʲô¶«Î÷£¬ºÍflashµÄÇø±ð£¬ÔÚÁíһƪÎÄÕÂÖÐÓÐ˵Ã÷£¬ºÜ»ù´¡µÄ¶«Î÷£¬Á˽âһϺÜÓкô¦¡£¸öÈËÀí½â£¬NORÀàÐ͵Ä
flashÒ»°ãÀ´Ï൱ÓÚ¼ÆËã»úµÄÄڴ棬²»¹ýÊÇ¿ÉÒÔ´æ´¢Êý¾ÝµÄ£¬¶ø ......
ROM¡¢RAM¡¢DRAM¡¢SRAM¡¢FLASHµÄÇø±ð?
ROMºÍRAMÖ¸µÄ¶¼ÊÇ°ëµ¼Ìå´æ´¢Æ÷£¬ROMÊÇRead Only MemoryµÄËõд£¬RAMÊÇRandom Access MemoryµÄËõд¡£ROMÔÚϵͳֹͣ¹©µç
µÄʱºòÈÔÈ»¿ÉÒÔ±£³ÖÊý¾Ý£¬¶øRAMͨ³£¶¼ÊÇÔÚµôµçÖ®ºó¾Í¶ªÊ§Êý¾Ý£¬µäÐ͵ÄRAM¾ÍÊǼÆËã»úµÄÄÚ´æ¡£
RAMÓÐÁ½´óÀ࣬һÖÖ³ÆΪ¾²Ì¬RAM£¨Static RAM/SRAM£©£¬SRAMËٶȷdz£¿ì£ ......
1¡¢Ò»¸öºÜ³¤µÄMC·ÅÔÚ³¡¾°ÖÐÒªÕ¼¾Ý¼¸Ö¡£¿
»Ø´ð£ºÒ»¸öºÜ³¤µÄMC·ÅÈ볡¾°ÖÐÖ»Õ¼¾ÝÒ»Ö¡µÄλÖã¬Èç¹û½«ËüÍÏÁ˺öàÖ¡£¬Ö´ÐÐʱÿ¸ôÒ»Ö¡MC¶¼»áÖØ·Å¡£
2¡¢ÔÚÖÆ×÷Flash“Ñع켣Ô˶¯Ð§¹ûʱ£¬¶ÔÏó×ÜÊÇÑØÖ±ÏßÔ˶¯£¬ºÍ½Ì³Ì¶ÔÕÕһϣ¬×ö·¨ÍêÈ«Ò»Ñù£¬ÎªÊ²Ã´²»ÐУ¿
»Ø´ð£ºÔÒòºÜ¼òµ¥£¬Ö»ÒòΪÊ×βÁ½Ö¡µÄÖÐÐÄλÖÃûÓжÔ×¼Ôڹ켣ÉÏ£¬¶øµ¼ ......
ת×Ô:http://www.laolang.cn/back-end-develop/flash-builder-4-blazeds-db-application.html
1.ʹÓÃEclipse ½¨Á¢Ò»¸öJava Project¡£±àдºÃÔ¶³Ì·þÎñÀà(È總¼þ)¡£
2.ÏÂÔØDownload the BlazeDS binary distribution£¬½âѹµ½tomcatµÄwebappsĿ¼Ï¡£ÏÂÔØflex-rds-server.jar£¬ËüÊÇBlazeDS 4(¿ª·¢ÖÐ)ÖеÄÒ»¸ö°ü£¬ÊÇBl ......
ÕâһƪÊÇÁÙʱµÄ±Ê¼£¬ÎÒÃÇÖªµÀas3 ÊÇÃæÏò¶ÔÏóµÄÓïÑÔ£¬ÕâÖÖÓïÑÔÄܹ»·½±ãµÄ·â×°ºÃһЩÀ࣬ÖØÓÃÐԵõ½¼ÓÇ¿¡£Ã¿Ò»¸öÈ˶¼ÓÐÒ»Ì×¾ø»î£¬ÕâЩ¾ø»î¾ÍÏñÎäÁÖµ±ÖÐÿһÅɵÄÎäѧÄÇÑù¡£ÔÚƽʱµÄ¹¤×÷ʹÓÃÉÏ£¬ÊÕ¼¯ÕâЩ¹¤¾ßÄܹ»·½±ã×Ô¼º¹¤×÷£¬Ò²³ÉΪ×Ô¼ºÒ»Ì×Îäѧ¡£
ÀýÈ磺adobe ºËÐÄÀà¿â £¬ 3dÒýÇæÀà¿â£¬ÎïÀíÒýÇæÀà¿â box2d £¬ ......