|
-
Okay, I am still struggling with this.
According to everything I have read at macromedia and elsewhere, I think that the following HTML code should work:
Code:
<SCRIPT LANGUAGE="JavaScript">
<!--
function seq_DoFSCommand(command, args)
{
// if ( command == "anAlert" )
// {
alert("Here's the Flash message: " + args);
// }
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="VBScript">
<!--
// Handle IE.
Sub seq_FSCommand(ByVal command, ByVal args)
call seq_DoFSCommand(command, args)
end sub
//-->
</SCRIPT>
where my movie name or id is "seq".
The sequence is frames 1 to 9.
Frame 9 goes back to frame 3 and plays.
Frame 2 attempts to get the alert box up. I make the FS command (using FS appears to be acceptable from the references) "anAlert" and the arguement "me"
The sequence for "seq" runs fine, however I get a new window popped up with "page cannot be found" instead of the alert.
The above is an almost direct crib of a download from:
http://www.moock.org/webdesign/flash...and/index.html
which does work, so I guess I am entering the FS incorrectly, somehow.
Here is another site that suggests the above is acceptable:
http://www.ashzfall.com/flash/
Using the JS scripting option instead of FS (movie->sounds actions->add action->advanced) does the same thing, attempting to reference a js function within HTML.
Syntax here? Is the "script language=javascript" required in the dialogue box, or just the function name, or what.
Help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|