Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling JS function from flash not working..???

Status
Not open for further replies.

kimraznov

Programmer
Oct 16, 2000
31
US
Check out the very early stages of this site at....

If you click through...thework/advertising and when the movie loads into the upper portion of the screen, then click "click image to enlarge", a JS error is the result.

I followed the tutorial on moock.org... i placed a function in the html window that the base movie is embedded into, then in the movie where i want to open the browser window... i call the funtion from a button,using the code..

on (release) {
getURL ("javascript:launchwin('ana.htm' , 'newwindow' , 'height=655,width=335')", "_blank");
}


What am I doing wrong???
 
nice site :)

try this

on (release) {
getURL ("javascript:void(launchwin('ana.htm' , 'newwindow' , 'height=655,width=335'))", "_blank");
}

 
TWIST... THANKS FOR THE HELP, BUT IT DIDNT WORK.. I ACCIDENTALLY POSTED THIS HERE ANYWAY.. MEANT TO PUT IT IN THE FLASH FORUM.

KIM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top