Load external SWF, display it for 5 seconds and then remove it
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/
精彩评论