开发者

How to use Actionscript 3.0 to go to a new Web Page at the last frame?

I have a SWF that is acting as a sort of intro for my site, when the intro is done playing, I would like it to go to a different site. How would I do this, and开发者_运维问答 would I just put it in the actions panel of the last frame on the timeline? Thx in advance!


navigateToURL(new URLRequest("YOUR WEBSITE URL", "_self"))

docs: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/package.html#navigateToURL%28%29


You can use ExternalInterface to achieve this by calling JavaScript on the surrounding HTML page.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜