Flasher Archive

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


Subject: Re: FLASH: Load Movie - Frame # or (N)
From: Colin Moock
Date: Mon, 28 Jun 1999 07:27:16 +0100

flasheratshocker [dot] com,Internet writes:
>Going through the manual I couldn't really find anything too in depth on
>loading movies. Could I have a "blank" Flash .swf load a movie onto a
>new level, but also have it start at a certain frame (wether it be
>number, scene or name) instead of the first frame of the swf.
yes you could. after the load movie action you could add a go to action
contained in a tell target action with a target of:
_levelx
(where "x" is the number of the level onto which you loaded your movie). the
go to action would then be applied to the timeline of the movie on levelx.
here's an example of what your actions listbox would look like if you wanted
to direct your loaded movie to frame 60, and you had loaded your movie onto
level 1:

On (Release)
Begin Tell Target ("_level1")
Go to and Stop (60)
End Tell Target
End On

a possible problem with this approach would be that if the movie has just
been requested, the frame you want to go to likely isn't loaded yet, so your
go to action would never be executed. this would presumably be fixable with
the "if frame is loaded" action or the new _framesloaded property in flash 4,
but i haven't tested whether preloaders work on movies loaded with load
movie, so i can't say for sure.

john, marc? have you tested that? do preloaders work in movies loaded onto
levels with load movie?

if they do, here's where to learn how to make one:
http://www.macromedia.com/support/flash/ts/documents/wait_for_frame01.htm

colin (moock)
=if you don't come to the site, the site comes to you=

;)

--
-

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: Load Movie - Frame # or (N), John Croteau

Replies
  FLASH: Load Movie - Frame # or (N), Chris

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