Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Auto javascript script load on movie end



8:41 am on Aug 13, 2004 (gmt 0)

10+ Year Member


How would I get a javascript:mailpage() script to start automatically at the end of a flash movie?



8:10 pm on Aug 13, 2004 (gmt 0)

10+ Year Member

On your HTML page you should have some javascript

function mailpage()
//do some mail stuff

in the last frame of your flash movie, you need the actions script

getUrl( "javascript:mailpage();" );

are you collecting variables in your flash movie to pass to the mailpage function? If so and supposing the variable is called mailAddress, the action script would be
mailAddress = "someAddress";
getUrl( "javascript:mailpage('"+mailAddress+"');" );

hope this helps


Featured Threads

Hot Threads This Week

Hot Threads This Month