Flasher Archive

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


Subject: FLASH: FSCOMMAND Frames and IE 4
From: Byer, Mark
Date: Wed, 27 Oct 1999 20:50:30 +0100

I've scanned all of John's support list, scoured Macromedia's technotes,
browsed Moock's lists and I still can't seem to get this problem solved. So
it's time to head for the BIG guns -- this auspicious list!

This may seem like the same question asked so many times before -- Two HTML
frames, a SWF in each and FSCOMMANDs "linking" them... still there seems to
be something missing.

The following code is one of two frames. This is just a simple test site.
The SWFs just send each other commands to jump to a specific label. It works
very slick in all the versions of Netscape I've tested but will not work in
IE (4.x on Mac and Windows) I suspect the Explorer check code, but I'm
stumped.

Any ideas out there in FlasherLand! Thanks for the help!

The two frames are named "tell1" and 'tell2"
Frame "tell1" has an embeded .swf named "tell1"
Frame "tell2" has an embeded .swf named "tell2"

-----------------------Code follows-----------------------------------
<HTML>
<HEAD>
<TITLE>tell1</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the the FSCommand messages in a Flash movie
function tell1_DoFSCommand(command, args) {
var told = InternetExplorer ? parent.tell2.tell2 :
parent.tell2.document.tell2;
if ( command=="tattletell" )
{
args=""+args;
told.TGotoLabel("_flash0",args);
}
}
}
//-->
</SCRIPT>

<SCRIPT LANGUAGE=VBScript>
<!--
Sub tell1_FSCommand(ByVal command, ByVal args)
call tell1_DoFSCommand(command, args)
end sub
//-->
</SCRIPT>

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

codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0
,0"
ID=tell1
WIDTH=550
HEIGHT=400>

<PARAM NAME=movie VALUE="tell1.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>

<EMBED src="tell1.swf"
quality=high
bgcolor=#FFFFFF
WIDTH=550
HEIGHT=400
swLiveConnect=true
TYPE="application/x-shockwave-flash"
NAME="tell1"

PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash">
</EMBED>

</OBJECT>
</BODY>
</HTML>

-------------------------------

Mark Byer
Sr. Communications Analyst
Carlson Marketing Group
Client Communications
(612) 212-4339
_________________
mbyeratcarlson [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: FSCOMMAND Frames and IE 4, Colin Moock

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