Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: FS Command BUG in Netscape?
From: Waldo Smeets
Date: Fri, 9 Jul 1999 15:54:08 +0100

Hi,

noticed problem in netscape while using the following:

FS Command("newWindow","Here a message.")

in the Flash movie named care.swf.

In the HTML file i have the folowing script:

<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function care_DoFSCommand(command, args) {
var careObj = InternetExplorer ? care : document.care;
//

if (command == "newWindow"){
alert(args);
}
}
// Hook for Internet Explorer
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&

navigator.userAgent.indexOf("Windows") != -1 &&
navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub care_FSCommand(ByVal command, ByVal args)\n');
document.write(' call care_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->
</SCRIPT>

This all works fine in IE4, but not in NS 4.
I'm using Windows 98.

Questions:

1. What's the reason that it doesn't work fine?
2. What's got to change in the HTML file when this movie care.swf would
be loaded in the main movie index.swf?

Wondering who can help me.

Waldo Smeets
CARE Internet Services



------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [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-manageratshocker [dot] com


Replies
  Re: FLASH: FS Command BUG in Netscape?, John Croteau

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]