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

flexÀïÓÐʲô°ì·¨ÄÜÈÃmx:imageÔÚËõ·Åºó×Ô¶¯¾ÓÖÐ

ÓÐûÓÐʲô°ì·¨ÈÃimageÔÚÔØÈëºóËõ·Åµ½ÊʺϴóС£¬È»ºó»¹ÄÜ×Ô¶¯ÔÚÈÝÆ÷ÄÚ¾ÓÖС£

лл
        //¼ÆËãͼƬ¿òµÄ´óС
        public function caculate_size():void
        {
            _x = 0;
            _y = 0;
            _width = 0;
            _height = 0;
           
            //ԭʼͼƬµÄ´óС
            var real_width:Number = _image.contentWidth;
            var real_height:Number = _image.contentHeight;
           
            //ÈÝÆ÷µÄ´óС
            var width:Number = this.width;
            var height:Number = this.height;
           
            //¼ÆËãͼƬ³¤¿íÓëÈÝÆ÷³¤¿íµÄ±ÈÖµ£¬Ëõ·Åʱ°´ÕÕ´óµÄËõ·Å
            var w_percent:Number = real_width/width;
            var h_percent:Number = real_height/height;
           
          &nbs


Ïà¹ØÎÊ´ð£º

ѰÊìϤphp£«flash/flexµÄ´´ÒµºÏ×÷»ï°é

ÎÒÃǼ¸¸öÔÚÅ·ÖÞÁôѧµÄ²©Ê¿ÉúÕýÔڳﻮһ¸öÏ£Íû³¤ÆÚ·¢Õ¹²¢×ö´ó×öÅ£µÄÇ°ÑØÄÔ¿ÆÑ§³É¹ûÓ¦ÓÃÏîÄ¿£¬ÐèÓõ½php+webgameµÄ¼¼ÊõÀ´×öÖÕ¶ËÒ³Ãæ£¬ÌØÃÙһλÔÚÕâ·½ÃæÓо­ÑéµÄ´´ÒµºÏ×÷Õߣ¨Èç¹ûÄúÊìϤDZ¡¢UChomeϵͳ¸üºÃ£©£¬¸ÃºÏ×÷ÕßÔ ......

ÇëÎÊË­ÓÐflex visual graph £¿£¿¼±Óð¡

´ó¼ÒºÃ£¡ÇëÎÊÄÄλÓÐflex visual graphµÄÔ´´úÂë°¡£¿
ÏÖÔÚÔÚADOBEµÄÍøÕ¾ÉÏÒѾ­Ï²»µ½ÁË¡£¡£¡£¡£
ÎÒµÄÂÛÎÄÐèÒªÕâ¸ö£¬ºÜ¼±£¬Èç¹ûÓÐÔ´´úÂëµÄÅóÓÑÂé·³·¢µ½gutingting110@gmail.com
Íò·Ö¸Ðл£¡£¡£¡
http://birdey ......

flex Á¬½ÓÊý¾Ý¿âʧ°Ü£¿£¿

ÎÒÊǰ´  http://hi.baidu.com/dapao98301/blog/item/eff43ed557b44509a08bb75f.html ¸øÎÒµÄÌáʾ×öµÄ£¬ÏÖÔÚ×ÜÊÇ

<mx:RemoteObject id="getData" destination="dataService1" res ......

flexÈçºÎʵÏÖ°ÙÒ¶´°ÌØÐ§£¿

ÔÚflashÖкÜÈÝÒ×ÄÜʵÏÖ°ÙÒ¶´°Ð§¹û£¬²»ÖªµÀflexÖÐÄÜ·ñͬÑùʵÏÖ¸ÃЧ¹û£¿

flexÖÐÃ²ËÆ²»ÐУ¬
air¿ÉÒÔ


mark

°ÙÒ¶´°ÊǶà¸öÍøÒ³ÔÚͬһ¸öÒ³ÃæÇл»Âð£¿

ÒýÓÃ
effects\Blinds.as
JScript code
package effec ......

FlexÖÐÒýÈëÁËÍⲿƤ·ôºóÔÙÉèÖñ³¾°ÑÕɫʱʧЧÔõô°ì

ÏÂÔØÁËÒ»Ìײ»´íµÄƤ·ô£¬µ«ÊǸö±ð×é¼þÎÒÏ£Íû×Ô¼ºÄÜÊÖ¶¯¶¨ÒåÍâ¹Û£¬

¿ÉÊǸIJ»ÁËÁË£¬Ôõô°ì

ÎÒÖ»ÐèÒª¸ÄÎı¾¿òµÄ±³¾°É«
ÄãµÄƤ·ô¿ÉÄÜÖ±½ÓÉèÖÃÁËTextInputµÄborderSkinÊôÐÔÁË£¬ËùÒÔÄã¸Ä²»ÁË¡£Äã¿ÉÒÔÔÚCSSÎÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ