ssoltz
01-18-2003, 09:12 PM
Hi All,
My problem of the day seems pretty simple. I have a Flash MX variable that holds a URL. I want to pass that to a JavaScript NewWindow=window.open which is triggered inside an on (release) event handler. Seems simple enough.
The problem is, no matter what I try, it tries to open up the variable name, not the URL itself (curURL). I've tried enclosing it in brackets ([curURL]) and have tried Abelius' method here (which declares a function inside the HTML for the main .swf):
http://www.actionscripts.org/forums/showthread.php3?s=&threadid=14077
That didn't change things at all. I'm perplexed. If anyone knows the solution to this, please chime in.
Thanks in advance!
My problem of the day seems pretty simple. I have a Flash MX variable that holds a URL. I want to pass that to a JavaScript NewWindow=window.open which is triggered inside an on (release) event handler. Seems simple enough.
The problem is, no matter what I try, it tries to open up the variable name, not the URL itself (curURL). I've tried enclosing it in brackets ([curURL]) and have tried Abelius' method here (which declares a function inside the HTML for the main .swf):
http://www.actionscripts.org/forums/showthread.php3?s=&threadid=14077
That didn't change things at all. I'm perplexed. If anyone knows the solution to this, please chime in.
Thanks in advance!