Hi, guys... my neighbor advised that I try this place out, as I'm about to go out of my mind with this.
Following the numerous online tutorials that have offered me guidance, I've gone about two different methods of generating a popup window from within my flash site using javascript from within the html file, and calls for javascript functions from within the actionscript. NOTHING generates a popup. The most recent attempt didn't generate any output errors, which is about as good as it gets.
The subject site.... Published to Flash 6, Actionscript 1.0, currently upped to a test server.
http://www.ramenbudget.com/hojak/debi/main.html
I'm attempting to generate a popup window from the third bio page. However, no dice.
In the actionscript, I'm using
Quote:
on (release) {
getURL("javascript:openNewWindow('http://www.dcsair.com','thewin','height=350,width=400,too lbar=yes,scrollbars=yes') ");
}
|
... and in the html file, I'm placing this code within the header tag...
Quote:
<SCRIPT LANGUAGE=JavaScript>
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
</SCRIPT>
|
... just as the tutorials tell me to do. However... nothing works!!!!!!!!!!!!!!
Is there ANY reason that anyone can think of that this tandem of elements would not generate a popup window when I publish this darn site? I've also tried using the FSCommand method, detailed on Adobe.com, and that didn't work either. When I download their example files and publish using those, I can publish the popup window-generating example buttons they provide just fine.
I appreciate any help I can get. I'm going out of my mind.
Thanks in advance!