Flasher Archive

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


Subject: FLASH: FS command and Javascript
From: Frank
Date: Fri, 21 Apr 2000 18:01:02 +0100


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 helpatchinwag [dot] com


Replies
  RE: FLASH: Flash 4 magic (counterpoint), Q. Paradigm
  Re: FLASH: Flash 4 magic (counterpoint), pwehneratfuse [dot] net

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