Hi everyone I've been a little frustrated with some other boards (not going to name names) So I went searching and this one seems to be about 10 times more helpful then most. I hate for my first post to be about a problem but this one is just driving me crazy!
here goes
I have a main movie clip that loads another one(nests another) using loadmovie. This movie has a link on it to open up a new javascript window with the normal method described on the Macromedia site
I place this in my html
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
- <script language="JavaScript">
- function openNewWindow(URLtoOpen, windowName, windowFeatures) {
- newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
- </script>
and then call it from the flash like so
getURL("javascript:openNewWindow('plot_magnetic.htm','plotwindow','600','450')");
Now this works perfectly the first time you load the movieclip into the main timeline but if I "close it"(meaning go to a part in the maintimline where it isn't there) or even unload it through action script as soon as I load it and try to click on the link again it makes the page go white and puts the
javascript penNewWindow('plot_magnetic.htm','plotwindow','600','450')
in the url line of the browser.
Anyone encountered this before?? anyone with any ideas!??
Thanks
Brian99_1 - slightly stumped