Hello!
I'm trying to call a javascript function from within flash using the FS command code from the esteemed colin moock over at moock.org.
But I don't want to call up a new window.
Instead, I'm trying to write to a layer within the html page that the swf is already embedded into:
function layer()
{
document.layer1.write("<embed src='bowling.mpg'width=120 height=80></embed>"
document.layer1.document.close();
We're able to accomplish this in IE...
...but not in Navigator 4.x or NS6.
This function works when called from a plain ol' html button.
please please help!!
cheers,
Steve
I'm trying to call a javascript function from within flash using the FS command code from the esteemed colin moock over at moock.org.
But I don't want to call up a new window.
Instead, I'm trying to write to a layer within the html page that the swf is already embedded into:
function layer()
{
document.layer1.write("<embed src='bowling.mpg'width=120 height=80></embed>"
document.layer1.document.close();
We're able to accomplish this in IE...
...but not in Navigator 4.x or NS6.
This function works when called from a plain ol' html button.
please please help!!
cheers,
Steve