Flasher Archive

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


Subject: Re : FLASH: telltarget from javascript
From: Anik Rigaud
Date: Tue, 23 Nov 1999 09:25:42 GMT

> can someone tell me the syntax to tell a movie script to goto a
> specific label or frame from javascript? I've tried
> moviename.tgotolabel("/targetname", "labelname") as well as
> moviename.tgotoframe("/targetname", framenum) but no luck either way.
> Any help is much appreciated!! Thanks!

Here's an exemple tha works for me :

function MyMovie_DoFSCommand(command, args) {
var MyMovieObj = InternetExplorer ? MyMovie : document.MyMovie;
if(command=="MyFSCommand")
{
MyMovieObj.TGotoLabel('_levelXY/MyMCname','MyFlag');
}

Anik =:)


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


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