开发者

one external swf playing over another, after a timer?

开发者 https://www.devze.com 2023-02-26 02:36 出处:网络
I have two external .swf\'s.I need to have the first one played on load and then the second swf needs to be played over the first one after a timer.

I have two external .swf's. I need to have the first one played on load and then the second swf needs to be played over the first one after a timer.

开发者_如何学JAVAIf someone could help me out with a code I would greatly appreciate it! (note: I'm not that good with actionscript, so bear with me)


Set up a timer, on timer event create a Loader object with the URL of the second SWF (it can only be loaded from the same server the parent SWF gets loaded) and add it as a child of the parent SWF.

The code examples are easily found on google, like this one:

http://kb2.adobe.com/cps/141/tn_14190.html

0

精彩评论

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