Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: FS Command? |
From: | Jason Bouwmeester |
Date: | Mon, 24 Apr 2000 16:42:07 +0100 |
Phillip,
Looks like a good Shockwave overview but on my system all the text in the
yellow boxes comes up adhoc... usually a letter, line return then the rest
of the line... then a letter, line return then the rest of the next line...
kinda makes for a hard read.
jb
-----Original Message-----
From: Phillip Kerman [phillipteleport [dot] com (mailto:phillipteleport [dot] com)]
Sent: Monday, April 24, 2000 9:19 AM
To: flasherchinwag [dot] com
Cc: franknetverifier [dot] com
Subject: RE: FLASH: FS Command?
A few things might be causing your problem.
You need to make sure in the object/embed tag that your movie object has a
name (for embed) and ID (for object). Also "live connect=True" in embed:
//within embed:
NAME=flashObj
swLiveConnect=TRUE
//within object:
ID=flashObj
Then, you need your "doFSCommand" to be preceded with "flashObj_"
So it reads:
function flashObj_DoFSCommand(command, args)
Finally, you'll want the standard "hook for IE" in the script area (notice
"flashObj" is repeated here):
//
// Hook for Internet Explorer
//
line = '<SCRIPT LANGUAGE=VBScript\> \n';
line += 'on error resume next \n';
line += 'Sub flashObj_FSCommand(ByVal command, ByVal args)\n';
line += ' call flashObj_DoFSCommand(command, args)\n';
line += 'end sub\n';
line += '</SCRIPT\> \n';
document.write(line);
//-->
I'm pretty sure that will fix it... contact me directly if you want a sample
file. For everyone--feel free to check out my annotated shockwave file on
this subject as well as an article on the matter:
http://www.teleport.com/~phillip/flashforward2000/presentation/
Phillip Kerman
> Date: Fri, 21 Apr 2000 10:05:52 -0400
> From: "Frank" <franknetverifier [dot] com>
> Subject: FLASH: FS Command?
>
> Ok all you brilliant people...
>
> I'm getting a bloody skull banging my head on this one,
> I have a very simple flash movie, a couple frames that loop. In
> the movie I have placed an invisible button that OnRollover
> executes an FS command to send a variable to the parent HTML page
> to change a .gif image with javascript.
>
> Here is the Flash script:
>
> On (Roll Over)
> FS Command ("MM_swapImage",
> "'DefaultImage','/Images/DefaultImage.gif',1")
> End On
> On (Roll Out)
> FS Command ("MM_swapImgRestore()", "")
> End On
>
> Here is the page script:
>
> function DoFSCommand(command, args)
> {
> if ( command == "MM_swapImage")
> MM_swapImage('DefaultChic','','/Images/DefaultChic.gif',1);
> }
>
> What I'm I doing wrong? Please, please, please, please HELP!!!!
>
> I have looked through all the books and archives and tutorials,
> You are my only hope, Obe Wan......
>
>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]