ShaolinWood
10-10-2006, 03:42 PM
Hi,
I can't get this SetVariabl() function to work in JavaScript.
The function stops reading with the command...
Here's my JS code:
function tellFlash() {
alert("Starting function");//still reads fine
var FlashObj = window.document["myFlashMovie"];
alert("Past Stage 1"); //Still works
FlashObj.SetVariable("pageID", "HALLO");
alert("FIN "+mainPage); //doesn't reach this point...
}
tellFlash();
Does ANYONE know how to make this work??
Thanks in Advance
I can't get this SetVariabl() function to work in JavaScript.
The function stops reading with the command...
Here's my JS code:
function tellFlash() {
alert("Starting function");//still reads fine
var FlashObj = window.document["myFlashMovie"];
alert("Past Stage 1"); //Still works
FlashObj.SetVariable("pageID", "HALLO");
alert("FIN "+mainPage); //doesn't reach this point...
}
tellFlash();
Does ANYONE know how to make this work??
Thanks in Advance