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+webgameµÄ¼¼ÊõÀ´×öÖÕ¶ËÒ³Ãæ£¬ÌØÃÙһλÔÚÕâ·½ÃæÓоÑéµÄ´´ÒµºÏ×÷Õߣ¨Èç¹ûÄúÊìϤDZ¡¢UChomeϵͳ¸üºÃ£©£¬¸ÃºÏ×÷ÕßÔ ......
´ó¼ÒºÃ£¡ÇëÎÊÄÄλÓÐflex visual graphµÄÔ´´úÂë°¡£¿
ÏÖÔÚÔÚADOBEµÄÍøÕ¾ÉÏÒѾϲ»µ½ÁË¡£¡£¡£¡£
ÎÒµÄÂÛÎÄÐèÒªÕâ¸ö£¬ºÜ¼±£¬Èç¹ûÓÐÔ´´úÂëµÄÅóÓÑÂé·³·¢µ½gutingting110@gmail.com
Íò·Ö¸Ðл£¡£¡£¡
http://birdey ......
ÎÒÊǰ´ http://hi.baidu.com/dapao98301/blog/item/eff43ed557b44509a08bb75f.html ¸øÎÒµÄÌáʾ×öµÄ£¬ÏÖÔÚ×ÜÊÇ
<mx:RemoteObject id="getData" destination="dataService1" res ......
ÔÚflashÖкÜÈÝÒ×ÄÜʵÏÖ°ÙÒ¶´°Ð§¹û£¬²»ÖªµÀflexÖÐÄÜ·ñͬÑùʵÏÖ¸ÃЧ¹û£¿
flexÖÐÃ²ËÆ²»ÐУ¬
air¿ÉÒÔ
mark
°ÙÒ¶´°ÊǶà¸öÍøÒ³ÔÚͬһ¸öÒ³ÃæÇл»Âð£¿
ÒýÓÃ
effects\Blinds.as
JScript code
package effec ......
ÏÂÔØÁËÒ»Ìײ»´íµÄƤ·ô£¬µ«ÊǸö±ð×é¼þÎÒÏ£Íû×Ô¼ºÄÜÊÖ¶¯¶¨ÒåÍâ¹Û£¬
¿ÉÊǸIJ»ÁËÁË£¬Ôõô°ì
ÎÒÖ»ÐèÒª¸ÄÎı¾¿òµÄ±³¾°É«
ÄãµÄƤ·ô¿ÉÄÜÖ±½ÓÉèÖÃÁËTextInputµÄborderSkinÊôÐÔÁË£¬ËùÒÔÄã¸Ä²»ÁË¡£Äã¿ÉÒÔÔÚCSSÎÄ ......