Flasher Archive

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


Subject: RE: FLASH: FS Command doesn't work on netscape
From: Keith Hasely
Date: Mon, 4 Dec 2000 18:28:49 GMT

Ricardo,

In Navigator you need to enable interaction with plugins using
"swLiveConnect=true".


<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0
,0"
ID=navmovie WIDTH=100% HEIGHT=100%>
<PARAM NAME="movie" VALUE="Location/of/your/movie">
<PARAM NAME="play" VALUE="false">
<PARAM NAME="quality" VALUE="high">
<EMBED NAME=navmovie SRC="Location/of/your/movie" WIDTH=100% HEIGHT=100%
PLAY=false

<!-- **** Insert it here **** -->
SWLIVECONNECT=true
<!-- **** ****-->

QUALITY=high>
</OBJECT>


Enjoy,
Keith


-----Original Message-----
From: Ricardo Sta. Rita [choiatasiaonline [dot] net [dot] ph (mailto:choiatasiaonline [dot] net [dot] ph)]
Sent: Monday, December 04, 2000 4:00 AM
To: flasheratchinwag [dot] com
Subject: FLASH: FS Command doesn't work on netscape


I am doing a flash movie that has a button which opens up a pop-up window
when clicked.
I published my movie as "Flash with FS Command" and used Javascript to do
that
and it works fine with Internet Explorer... but it doesn't work in Netscape.
here's the code:
-----------------------------
<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function smmalls_DoFSCommand(command, args) {
var smmallsObj = InternetExplorer ? smmalls : document.smmalls;
if (command == "openwindow"){
window.open('map.html','map','scrollbars =
yes','width=700,height=400');
}
}
// 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 smmalls_FSCommand(ByVal command, ByVal
args)\n');
document.write(' call smmalls_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->
</SCRIPT>

-----------------------------------
Anybody knows how i can make it work??? or if there is any easier way to do
it???



thnx in advance,
Ricardo Sta. Rita



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: FS Command doesn't work on ne, Ricardo Sta. Rita

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