1) Script Title: Splash page script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...amicsplash.htm
3) Describe problem:
Basically I have a flash splash page without the header on the script. Instead i have a button, in the swf, which needs to have the javascript action to close the splash page window, I think it's something simple that I am doing wrong, I hope
The actionscript for my button in the flash movie is as follows:
But when I click the button, nothing happens, I have to rely on the auto-close feature of the script. Any idea's of why the javascript isnt working? I did start to wonder is it because the script i have is in a nested movieclip, but that didnt stop getURL from opening a new window if i change it from javascript.Code:b1.onRelease = function() { getURL("javascript:splashpage.closeit();"); ; }
Any help at all would be much appreciated![]()




Reply With Quote

Bookmarks