Tweenerã®ColorShortcutsã¯ã©ã¹ã®ãã¢çãä½ãã¾ããã ãã¼ã¸ã§ã³ã¯1.31.71ã§è©¦ãã¦ã¾ãã Tweenerã«ã¤ãã¦ã¯âãããã¸ãã§ã ã»tweenerããã¸ã§ã¯ããã¼ã¸ ã»tweenerãªãã¡ã¬ã³ã¹
Tweenerã®ColorShortcutsã¯ã©ã¹ã®ãã¢çãä½ãã¾ããã ãã¼ã¸ã§ã³ã¯1.31.71ã§è©¦ãã¦ã¾ãã Tweenerã«ã¤ãã¦ã¯âãããã¸ãã§ã ã»tweenerããã¸ã§ã¯ããã¼ã¸ ã»tweenerãªãã¡ã¬ã³ã¹
åã®ããã¢ããããã®ã§ã¾ã¨ããªãã¨ãæ¸ãã¦ããã ã¯ããTweener ã®é ã(?)ããããã£ã®ã話ãé ãã¤ã£ã¦ããã¾ãã¨ãããã¥ã¡ã³ãã«æ¸ãã¦ãªãã ãã§ããã®ãã¡ã¤ãããããã«ãªãã¨æãããã¾ãã¾ã½ã¼ã¹ãã®ããã¦ããçºè¦ãããã ãã®é ãããããã£ã¯ transitionParams ã£ã¦ãã¤ã§ transition ããããã£ã®ãã©ã¡ã¼ã¿ã ãªããã®ã¾ãã¾ã ãªãtransiton ã« Elastic ç³» (Equations.easeOutElastic ã¨ã) ããã㯠Back ç³» (Equations.easeOutBack ã¨ãï¼ãæå®ããã¨ãã«ãã¤ã¼ã¸ã³ã°ã®å¾®å¦ãªèª¿ç¯ãã§ããããã«ãªãã§ããã Elastic ç³» ã®æã«æå®ã§ããã®ã¯ period 㨠amplitude ã® 2 ã¤ãperiod ã¯ãã¨ã¼ã³ã£ã¦ãªãæéããªãamplitude ã¯ãã¾ãã¡ãããããããããããª
Tweenerã¯ã©ã¹ã®ãã¼ã¸ã§ã³ã¢ããã«ãããåã«æ¸ããè¨äºãTweener.addTweenã®ä½¿ãæ¹ãã¨å©ç¨æé ãä¸ç¹å¤ããã¾ããã ã¾ãããã©ã¡ã¼ã¿ãå¤ããã¨ãã®Tweenã®å¤åãããããããªswfãä½ãã¾ããã æé ï¼.import Tweenerã¯ã©ã¹ãimportãã¾ãã import caurina.transitions.Tweener; ï¼.addTweenã¡ã½ããå¼ã³åºã 次ã®ããã«è¨è¿°ããã¨myMcãx:50ãy:50ã«åãã£ã¦éæã«ãªããªãã移åãã¾ããtransitionã¯ã¤ã¼ã¸ã³ã°ã®æå®ã§ãã Tweener.addTween(myMc, {x:50, y:50, alpha:0.2, transition:"easeinoutquad"}); 次ã®swfã§ã¯addTweenã¡ã½ããã®ãã©ã¡ã¼ã¿ãæä½ãã¦åãã®ç¢ºèªãã§ãã¾ãã ãã¼ã¸ã§ã³ã¢ãã ï¼2
caurina.transitions.Tweener.properties ã®ä¸ã«ãã 6ã¤ã®asãã¡ã¤ã«ããæãåºããã ãããã ã.init(); ãå¿ è¦ã (ä¾: ColorShortcuts.init();) AS2, AS3å ±é âââââââââââââââââââââââ- â ColorShortcuts _color_ra _color_rb _color_ga _color_gb _color_ba _color_bb _color_aa _color_ab è²ã16é²æ°å½¢å¼ (0Ã000000ã0xFFFFFF) _color _colorTransform æ度 _brightness _tintBrightness ã³ã³ãã©ã¹ã _contrast è²ç¸ _hue 彩度 _saturation _dumbSaturation
<body> <h2>Frame Alert</h2> <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.</p> </body>
Tweener ã ã¼ãã¼ã¯ãªããã¯ãããè²ã ãªãã®ã楽ã«ãã¥ã¤ã¼ã³ãããããã®ã©ã¤ãã©ãªã URL: http://code.google.com/p/tweener/ ã©ã¤ã»ã³ã¹: MITã©ã¤ã»ã³ã¹ 30ç§ã§åããTweener Tweener.addTween(target, {_x:100, _y:200, time:1, transition:"linear"}); targetããä»ããä½ç½®ããã1ç§ããã¦ã座æ¨(100, 200)ã«ãç·å½¢(linear)ã§ãã¥ã¤ã¼ã³ãããã addTweenããç¬éãããèªåã§ãã¥ã¤ã¼ã³ãå§ã¾ãã ãµã³ãã«/ã㢠çµäºæã¤ãã³ã onComplete ã使ã Tweener.addTween(target, {_x:100, _y:200, time:1, transition:"linear", onComplete : function()
ä»åã¯ãtweener ã§å®ç¾©ããã¦ãã transition ã¿ã¤ããã¨ã«ãµã³ãã«ãä½ã£ã¦ãååä½ãè¦æ¯ã¹ã¦ã¿ã¾ãã Equations.as ã§å®ç¾©ããã¦ãã transition ã¯ãã®è¨ç®å¼ã«ãã£ã¦ 10 ã®åã«åããã¦ãã¾ãã ãã㦠1 ã¤ã®åã«ã¤ããInãOutãInOutãOutIn ã® 4 種é¡ã®ã¤ã¼ã¸ã³ã°ãããã¾ãã ä¸è¨ 10 * 4 = 40 ã®ã¤ã¼ã¸ã³ã°ã«å ãã¦ãã¤ã¼ã¸ã³ã°ãªã easenoneï¼ = linear ï¼ãããã¾ãã é½åãå ¨é¨ã§ 41 åã®ãã¥ã¤ã¼ã³ãã¿ã¼ã³ãããããã§ããã ã§ã以ä¸ãåãã¥ã¤ã¼ã³ãã¨ã®ãµã³ãã«ã é åãã¯ãªãã¯ãããã³ã«ãæ±è²ã®æ£æ¹å½¢ã両端ãè¡ã£ããæ¥ãããã¾ã ï¼ Tweener.addTween ã®ç¬¬2å¼æ°ã¯ { x:å°éå¤ , time:2 , transition:"ÃÃÃÃ" } ï¼ã mx.transitions.e
Flashã§å§ããActionScript3.0ï¼AS3ï¼å ¥éããªãã¸ã§ã¯ãæåï¼OOPï¼ã®åºç¤ç¥èããµã³ãã«ã³ã¼ããªã© Tweenerã¯ã©ã¹ã¯Google Codeã«å ¬éããã¦ããã¯ã©ã¹ã§ãã addTweenã¡ã½ããã®ä½¿ãæ¹ãã¡ã¢ã ï¼Tweenerã¯ã©ã¹ããã¼ã¸ã§ã³ã¢ãããããããblog ver.2ãTweener.addTweenï¼ver.1.25.57ï¼ã®ä½¿ãæ¹ãã«ã¨ã³ããªã¼ãæ¸ãç´ãã¾ããï¼ ããã±ã¼ã¸ã«å«ã¾ãã¦ããã¯ã©ã¹ãã¡ã¤ã« caurina/transitions/AuxFunctions.as caurina/transitions/Equations.as caurina/transitions/SpecialPropertiesDefault.as caurina/transitions/SpecialPropertyModifier.as cauri
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}