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

FLEX³ÌÐò³õʼ»¯¼°´Ë½âÃܹý³Ì

Ô­ÎĵØÖ·:
http://www.gridlinked.info/how-to-encrypt-flex-rsls/
ÕâÀï½ØÈ¡²¢³¢ÊÔ·­ÒëÁËÒ»¶ÎFLEX³ÌÐò³õʼ»¯¼°´Ë½âÃܹý³Ì.
Ó¦ÓÃÆô¶¯¹ý³Ì:
1. Ê×ÏÈ, ΪµÚ1Ö¡¼ÓÔØ×ã¹»µÄÊý¾Ý.
2. Flash Playerͨ¹ý´´½¨SystemManagerʵÀýÖ´ÐмÓÔØÊý¾Ý.
3. SystemManagerÃüÁîFlash PlayerÍ£Ö¹ÔÚµÚÒ»Ö¡.
4. SystemManager´´½¨Preloader,
ͨ¹ýËü´´½¨DownloadProgressBar¿Ø¼þ²¢ÏÔʾÔÚ¿Í»§½çÃæÉÏ.
5. Preloader¿ªÊ¼´ÓFLEX SWF(»òÍⲿSWF)¼ÓÔØÆäÓàÊý¾Ý.
Ò»µ©FLEX¿ò¼Ü¼°³ÌÐò´úÂëÊý¾Ý¼ÓÔØ, System ManagerÌøµ½µÚ2Ö¡²¢³õʼ»¯ApplicationʵÀý.
1) ËùÓеÄRSL¼°Ïà¹ØÀàÏÖÔÚÒѼÓÔØ[µ½ApplicationDomain];
×¢Òâ¼ÓÔØµÄ˳Ðò¾ÍÊÇapp±àÒëʱ¶¨ÒåµÄ˳Ðò.
2) ËùÓÐÓ¦ÓóÌÐòʹÓõÄÀඨÒå(ÊÓͼ, Âß¼­µÈ)ÏȼÓÔØµ½µÚ2Ö¡.
×¢ÒâÕâÀï, ÔÚµÚÒ»Ö¡µÄpreloader´úÂëÉõÖÁ¿ÉÒÔÔÚFLEX¿ò¼ÜÀà¼ÓÔØÇ°, °²×°²¹¶¡µ½ÆäÖÐ.
3) ÕâÖÖ¼¼Êõ¾Í±»½Ð×ö”monkey-patching”, »á±»ÓÃÔÚºóÃæÌáµ½µÄ½âÃܹý³ÌÖÐ.
6. Ò»µ©ApplicationʵÀý´´½¨, SystemManagerÉèÖÃ
Application.systemManagerÖ¸Ïò×Ô¼º,
Ö®ºóÄã¾Í¿ÉÒÔ·ÃÎÊSystemManagerÁË.
7. ApplicationÔÚ³õʼ»¯´¦Àí¿ªÊ¼Ç°ÅÉ·¢Ô¤³õʼ»¯(preinitialize)ʼþ.
8. Application¼ÌÐø´´½¨ÄÚ²¿ÊµÀý.
applicationµ÷ÓÃcreateChilden()·½·¨.
Õâʱÿ¸öÓ¦ÓõÄ×é¼þ±»¹¹Ôì²¢µ÷ÓÃ×Ô¼ºµÄcreateChilden()·½·¨.
¾ßÌåÇé¿ö²Î¿¼×é¼þÉúÃüÖÜÆÚÕ½Ú.
9. ApplicationÅÉ·¢³õʼ»¯(initialize)ʼþ,
Ö¸Ã÷ËùÓеÄ×é¼þÒѱ»³õʼ»¯.µ±È», ´ËʱËùÓеÄ×é¼þÉÐδ²¼¾Ö.
10.×îºó,ËùÓеÄ×ӿؼþ¼°ÈÝÆ÷±»´´½¨²¢ÉèÖôóС¼°Î»Öúó,
Application¾Í»áÅÉ·¢creationCompleteʼþ.
11.creationCompleteʼþÅÉ·¢ºó,
PreloaderÒÆ³ýDownloadProgressBar ¿Ø¼þ,
SystemManager½«ApplicationʵÀý¼Óµ½Flash PlayerµÄ
ÏÔʾÁбíÖÐ(Flash Player display list»ù±¾ÉÏÊǸöÊ÷½á¹¹,
°üº¬×Å¿ÉÊÓ¼°Ç±ÔÚ¿ÉÊÓ¶ÔÏó,¹¹³ÉÕû¸öÓ¦ÓÃ.
µ±ÏòÓ¦ÓÃÖÐÌí¼Ó»òÒÆ³ý×é¼þʱ,
»ù±¾ÉϾÍÊǽ«ËüÃÇ´ÓÏÔʾÁбí(display list)ÖÐÌí¼Ó»òÒÆ³ýµô).
12.ApplicationÒ»µ©Ìí¼Óµ½Flash PlayerÏÔʾÁбíÖÐ,
ApplicationÅÉ·¢applicationCompleteʼþ.
13.Application´ËʱÒѱ»´´½¨ºÃ²¢ÏÔʾµ½ÆÁÄ»ÉÏ×¼±¸ÓëÓû§½»»¥ÁË.
ÕâÖÖRSLµÄ½âÃܹý³ÌÈçÏÂ:
1.Flash Player¼ÓÔØÒѼÓÃܵÄRSL/SWF²¢Í¬Ê±ÅÉ·¢RSLErrorʼþ;
Õâ»áÍ£Ö¹Ô¤¼ÓÔØ¹ý³Ìʹ³ÌÐò”¹ÒÆð”.
2.ÖжϵôÕâ¸öʼþ·ÀÖ¹ÓÉÓÚðÅÝ»úÖÆ±»ÆäËû¼àÌýÆ÷²¶»ñ;
ÕâÄÜÓÐЧµÄ×èÖ¹¼ÓÔØÐòÁÐÖÐµÄÆäËûRSL.


Ïà¹ØÎĵµ£º

flex toolTipÑùʽÉèÖÃ

ÐèÒª3¸öÎļþ¡£Ò»¸öÊÇÑùʽÀ࣬һ¸öÑùʽÎļþ£¬Ò»¸öÊÇmxmlÎļþ¡£
¡ñMyToolTip.as
package{
 import mx.core.UITextField;
 import mx.skins.halo.ToolTipBorder;
 import mx.controls.ToolTip;
 public class MyToolTip extends ToolTipBorder {
  
  
  override ......

FlexÖеı¾µØ¹²Ïí¶ÔÏó SharedObject

FlexÖеı¾µØ¹²Ïí¶ÔÏó--SharedObject
±¾µØ¹²Ïí¶ÔÏóÓÐʱ±»³Æ×÷“Flash Cookie”£¬ËüÊÇÒ»¸öÊý¾ÝÎļþ£¬¿ÉÒÔÓÉËù·ÃÎʵÄÕ¾µãÔÚÄúµÄ¼ÆËã»úÉÏ´´½¨¡£ÔÚFlashÖÐÌṩÁËÏÂÃæµÄ²Ù×÷±¾µØ¶ÔÏóµÄ·½·¨£º
SharedObject.clear() ɾ³ý±¾µØ¹²Ïí¶ÔÏó£»
SharedObject.flush() Á¢¼´°Ñ¹²Ïí¶ÔÏóÊý¾ÝдÈë±¾µØÎļþ£»
SharedObject.getLoc ......

TWaver Flex»á¸øµçÐÅÈí¼þ¿ª·¢´øÀ´±ä¸ïÂð£¿

Èç¹ûÄãÊǵçÐÅÐÐÒµµÄ³ÌÐòÔ±£¬´óÃû¶¦¶¦µÄÍØÆËͼ¹¤¾ßTWaverÄãÒ»¶¨¶úÊìÄÜÏꣻµ«ÊÇÈç¹ûÒ»Ìáµ½TWaverÄã¾ÍÏëµ½Ò»¸öSwing×é¼þ°ü£¬ÄÇÄãºÁÎÞÒÉÎÊÒѾ­outÁË¡£¾­¹ýÊ®¼¸ÄêµÄ·¢Õ¹£¬TWaver¿´ÉÏÈ¥ÒѾ­²»ÔÙÊÇÒ»¸ö¼òµ¥µÄSwingÍØÆË×é¼þ£¬ÕâЩÄêTWaverÂ½ÐøÍÆ³öÁËAJAX+SVGµÄWeb°æ¡¢GIS°æ£¬ÏÖÔÚÓÖ³öÁËFlex°æ¡£Ê²Ã´£¿Flex°æTWaver£¿Ð¡Íæ¾ß°É£¿ÄÜ×öÆ ......

Flex Spring JAVA BLAZEDSÕûºÏ

Ô­ÎĵØÖ·£ºhttp://www.javaeye.com/topic/392836
¹ØÓÚFlex
Adobe FlexÊÇÒ»Ì×´´½¨¸»¿Í»§¶ËÓ¦ÓÃ(RIAs)µÄ¿ò¼Ü.FlexÉú³ÉµÄswfÎļþ¿ÉÒÔÖ±½ÓÔËÐÐÔÚFlash PlayerÖ®ÖС£Ïà±È½Ï»ùÓÚʱ¼äÖáµÄFlash¿ª·¢£¬Flex¿ò¼Ü¸üÊʺÏÄÇЩÓô«Í³·½Ê½¿ª·¢Ó¦ÓóÌÐòµÄ¿ª·¢ÈËÔ±¡£FlexÓ¦ÓÿÉÒÔʹÓÃFlex builderÀ´¿ª·¢¡£ÕâÌ×IDEÊÇ»ùÓÚEclipseƽ̨¿ª·¢µÄ¡£ ......

Flex ѧϰÖÐÊý¾ÝÀàÐͱØÐë×¢ÒâµÄ¼¸µã

ÔÚ×Ö·û´®×ª»»ÎªintÀàÐͱØÐëʹÓà ×îºÃÈçÏ£º
var a:int=int(str);
ÉÏÃæ×ª»»Èç¹û²ÉÓÃÈçÏÂÇ¿ÖÆ×ª»»Ôò
 var a:int =str as int;
µÃµ½Êý¾ÝΪ0 Ϊ´íÎóÊý¾Ý¡£
ÔÚÏîÄ¿ÖÐÁ½¸öintÏà¼Ó½á¹û³¬¹ýÒ»¸öintµÄ·¶Î§Ê±³öÏÖ´íÎó£¡
¾­¹ý×Ô¼ºbug²éÕÒµ½´íÎóÔ­ÒòÊÇÒòΪintÊý¾ÝÀàÐÍ·¶Î§Ì«Ð¡°Â£¡Ö»ºÃ¸ÄΪNumberÀàÐÍ¡£½á¹û²ÅÕýÈ·£¡ÔÎËÀ£¡
Ô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ