Flasher Archive

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


Subject: Re: FLASH: Controlling a Flash movie from JavaScript.
From: Mike S
Date: Fri, 4 Aug 2000 20:44:47 +0100


>within the Flash file get changed (a movie in one layer is replaced by a new
>one).

You can simplify your problem if the movies loaded into the plugin all get
loaded into
"_layer0". This is the root layer and is easy to refer to by name or number.

>load the movie is played (timing issue between HTML, JavaScript, and Flash).

>So, I've tried to load the movie from JavaScript using the LoadMovie. The
>JavaScript LoadMovie does not use an instance name instead, it uses a layer
>number.

You might try driving the events from the Javascript with
TCallLabel(target, label). This
can resolve some of your timing issues. Combined with SetVariable(name,
value) you
can pass in the load info and do it internally.

>My question is this: Is there a relationship between the layer number for
>the JavaScript LoadMovie and the instance name for the movie? If so, where
>can I see that relationship within Flash?

Each subsiquent load will load into _level1, _level2, etc. I don't know of
any level
to instance name mapping.

--mikes

------------------
Michael S.
Sr. Software Engineer
Excite@Home

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Controlling a Flash movie from Ja, Bonney, Mark

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