Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: FSCommand AND Netscape !! |
From: | Magnus \"Malte\" Olsson (Netsolutions) |
Date: | Thu, 11 Mar 1999 21:28:26 GMT |
Hello!
I guess there's been a lot of talking about FSCommands but I have a problem
with Nescape 4.02 & 4.5, here goes:
I'm sending the FSCommand with the getURL: FSCommand:toNewSide
and capture it with JavaScript and VBScript:
function flash_DoFSCommand(command, args){
if ( command=="toNewSide" ){
if(ver4) {
myWin = window.open("vers4.html", "rmi4",
"height=100,width=100;")
}
else
{
myWin = window.open("vers3.html", "rmi4",
"height=100,width=100;")
}
}
}
<SCRIPT LANGUAGE="VBScript">
<!--
// Map VB script events to the JavaScript method - Netscape will ignore
this...
Sub flash_FSCommand(ByVal command, ByVal args)
call flash_DoFSCommand(command, args)
end sub
-->
</SCRIPT>
and nothing happends, when I alert(command) I'll get "toNewSide" so I know
that the function flash_DoFSCommand() has been called.
My <Object> has the ID="flash" and the <Embed> has the Name="flash".
This works just fine with IE4.
Anyone, if you know about this please help me out.
/Malte
....................................................
magnus [dot] olssonnetsolutions [dot] se (mailto:magnus [dot] olssonnetsolutions [dot] se)
Netsolutions Sweden AB
Grev Turegatan 11 A, Box 14083, SE-104 40 Stockholm
Direct +46 8 587 487 73
Phone +46 8 587 487 00, Fax +46 8 587 487 50
http://www.netsolutions.se
....................................................
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: FSCommand AND Netscape !!, John Croteau
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]