GusDeCooL
GusDeCooL

Reputation: 5758

ActionScript: after movie finish load URL

how to make flash after finish the movie, then it will go to URL i choose?

Upvotes: 0

Views: 3627

Answers (1)

OXMO456
OXMO456

Reputation: 3548

Well...

Use navigateToURL : http://bit.ly/fVvlxm

In the last frame of your MovieClip :

navigateToURL(new URLRequest("http://yoururl.com"),"_self");

OR

movieClip.addFrameScript(test.totalFrames-1, function() : void {
    navigateToURL(new URLRequest("http://yoururl.com"),"_blank");
});

Upvotes: 2

Related Questions