FlexµÄ¶¯»Ð§¹ûÓë±ä»»
ÔÚFlexÀïÃæ²»ÏñÔÚFlashÀïÃæËæÒâÖÆ×÷¶¯»ÁË£¬Flex¸üÇ÷ÏòÓÚÓ¦ÓóÌÐò£¬¶ø²»ÊǶ¯»ÖÆ×÷ÁË£¬ËùÒÔûÓÐÁËʱ¼äÖáµÄ¸ÅÄî¡£ÔÚFlexÖÐʹÓö¯»Ð§¹û£¬¿ÉÒÔÓÃFlex×Ô´øµÄEffect£¬»òÕß×ÔÒѶ¨ÖÆEffect£¬ÒòΪºÜ¶àÈ˶¼Ïë½èFlashÀïÃæµÄÒ»Ñù²Ù×÷Flex£¬±ÈÈçÔÚFlashÀïÃæ×öÒ»¸ö¶¯Ì¬°´Å¥ºÜÈÝÒ×£¬µ±Êó±êÒƶ¯µ½ÉÏÃæʱ£¬»áÓкܶ෢¹âµÄµãÅܳöÀ´£¨Ó«»ð³æЧ¹û£©£¬ÕâÖÖЧ¹ûÔÚFlashÊ®·ÖÈÝÒ×ʵÏÖ£¬µ«ÔÚFlexÀïÃæҪʵÏÖÕâÖÖЧ¹û¾Í²»ÊÇÄÇô¼òµ¥µÄÁË£¬ÏÂÃæ˵˵ÔÚFlexÀïµÄµÄ¶¯ÎñЧ¹ûµÄʹÓÃÓë×Ô¶¨ÒåÖÆ×÷¡£
Ê×ÏȽéÉÜÒ»ÏÂFlexÀïÃæµÄ×Ô´øµÄЧ¹ûÓÐÒÔϼ¸ÖÖ£º
Blur Ä£ºýЧ¹û
Move Òƶ¯Ð§¹û
Fade µÈëµ³öЧ¹û
Glow ·¢¹âЧ¹û
Resize µ÷Õû´óСЧ¹û
Rotate ÐýתЧ¹û
Zoom Ëõ·ÅЧ¹û
WipeLeft ÓÃÕÚÕÖʵÏÖ»ÃæÊÕ·ÅЧ¹û£¬ÏÂͬ£¬·Ö±ðΪ²»Í¬·½Ïò
WipeRight
WipeUp
WipeDown
²»Í¬µÄЧ¹ûËùÐèÒªÉèÖõÄÊôÐÔÒ²²»Ò»Ñù£¬±ÈÈçBlurЧ¹ûÐèÒªÉèÖÃËüµÄXÓëYÖáµÄÄ£ºýÏñËØ
<mx:Blur id="blur" blurXfrom="0" blurXTo="10" />
¶øMoveЧ¹ûÐèÒªÉèÖÃÒƶ¯µÄλÖÃÐÅÏ¢
<mx:Move id="moveEffect" xfrom="-100" />
ÆäËüÉèÖÿÉÒԲο¼FlexÓïÑԲο¼
ÏÂÃæ˵˵ÈçºÎʹÓÃÕâЩЧ¹û¡£ÒªÔËÐÐÕâЩЧ¹ûÓÐÁ½ÖÖ·½·¨£ºÒ»ÖÖÊǵ÷ÓøÃЧ¹ûµÄplay()·½·¨£¬ÁíÍâÒ»ÖÖÊÇʹÓô¥·¢Æ÷À´´¥·¢Ð§¹û¡£
£¨1£©Ê¹ÓÃplay()·½·¨£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<
Ïà¹ØÎĵµ£º
¹¤³ÌϵÄhistoryÎļþ¼ÐÏ´æ·ÅÈý¸öÎļþ£ºindex.template.html£¬rightClick.js,swfobject.js
srcÎļþ¼ÐÏ´æ·ÅCustomContextMenu.mxmlÎļþ¡£
1.CustomContextMenu.mxml£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
applicati ......
±¾Ìùת×Ô£ºhttp://smartblack.javaeye.com/blog/556202
Ò»Ïî¼¼Êõ£¬´Ó¸ÅÄîÌá³öµ½¼¼ÊõÑз¢µ½ÉÌÒµ·¢²¼£¬ÔÙµ½Êµ¼ÊÓ¦Óã¬×îÖÕ½«²úÆ·³ÊÏÖÔÚÓû§ÃæÇ°£¬ÕâÊÇÒ»¸öÂþ³¤¶ø¸´ÔӵĹý³Ì¡£ÔÚÕâµ±ÖУ¬ºÜ¶àÓд´ÒâÓÐÉúÃüÁ¦µÄ¼¼ÊõÒòΪ¸÷ÖÖÔÒòССÒź¶µØ²»ÐÒزÕÛÁË¡£FlexÄÜ×ßµ½½ñÌìȷʵ²»Ò×£¬ÏÂÃæÈÃÎÒÃÇ´Ó²»Í¬µÄ½Ç¶ÈÀ´¿´Ò»ÏÂËüÊÇÈçºÎ¹ý¹ ......
ÔÚFlexÖУ¬ÀûÓÃstate½øÐÐ״̬ºÍÒ³ÃæµÄǨÒÆÓë±ä»»£¬ÖмäµÄAddChild IOverrideÓÐÒ»¸öcreationPolicy£¬Õâ¸öÊôÐÔÓÐÈýÖÖÉèÖ㬷ֱðÈçÏ£º
AUTO£ºÄ¬ÈÏÉèÖã¬Ö»ÓÐÔÚ״̬¸Ä±äµÄʱºò£¬¼´Ê±µÄÉú³ÉÐÂÔö×é¼þ£»
ALL£ºÔÚApplication¼ÓÔصÄʱºò£¬¾Í¼ÓÔØÁËÐÂÔöµÄ×é¼þ£¬ÔÚ״̬¸Ä±äµÄʱºòÏÔʾ£»
NONE£ºÐèÒªÊÖ¶¯µÄµ÷ÓøÃaddChild Instance c ......
--------web.xmlÎļþ
<listener>
<listener-class>flex.messaging.HttpFlexSession</listener-class>
</listener>
--------Java´úÂë
public class GetSeesion {
/**
* ÉèÖÃsession
* */
public ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
private function onSuccess(evt:Re ......