开发者

Load external SWF, display it for 5 seconds and then remove it

开发者 https://www.devze.com 2023-01-21 09:37 出处:网络
i have a Flash Application with a button and an onRelease event. How can i load an external swf File, display it for 5 seconds on top of th开发者_JS百科e main stage and then fade it out? Will this be

i have a Flash Application with a button and an onRelease event. How can i load an external swf File, display it for 5 seconds on top of th开发者_JS百科e main stage and then fade it out? Will this be possible with createEmptyMovieClip()?


Load your swf, start a timer , when the timer event fires , fade out the loaded swf , when the fade out is complete, remove the swf.


Use greensock Tween and Loader class. See examples on http://www.greensock.com/

0

精彩评论

暂无评论...
验证码 换一张
取 消