Flasher Archive

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

Subject: Re: FLASH: Lobby level? Flash3
From: Marc Hoffman
Date: Sat, 29 Aug 1998 17:22:18 +0100

At 12:40 AM 8/29/98 -0400, you wrote:
>> >1: I need a "skip into" button that loads and plays the level1 movie.
>> >2: If the "skip intro" button is not activated, then I need the level1
>> >movie to start loading itself after the level0 movie has completed its
>> >download

Hi David and all.

I don't use multiple scenes -- just haven't gone there; I suppose they save
loading symbols twice (as opposed to repeating the library in a second
movie), but why not just make the movie in one scene? (Someone educate me!).

Anyway, I believe I have a fix for your nagivational conundrum:

Build yourself two "control" Movie Clips (my term). Movie Clip A (MC-A) is
in level1 (the main animation movie)and repeatedly checks if level1 (or an
acceptable portion of it) has loaded, and, if the answer is "yes," tells
MC-B to go to a frame labeled "ready".

MC-B is in level0 and consists of four frames. Frame 1 has a Stop. Frame
2 loops back to Frame 1. Frame 3 has a stop and is the one labeled
"ready." Frame 4 tells Movie0 to park itself and tells level1 (intro movie)
to begin.

Now, design your intro so that there are spots here and there where the
action could stop and the movie could park itself without disrupting the
flow -- natural resting places. Let us call them "trigger frames." In
these places, on the main timeline, place a tell target that advances MC-A
to the next frame (use "go to next frame and play").

So, here's what happens:

As the intro plays, it periodically passes trigger frames where the action
could stop and movie level1 could play without it looking abrupt. The
trigger frames will move MC-B ahead one frame. Until level1 is
sufficiently loaded, however, moving MC-B ahead one frame has no real
effect; MC-B just goes to frame two and loops back to frame one and stops.

But then things heat up, and the suspense builds! The level1 movie meets
its loading requirement as tested by MC-A. When this condition is met,
MC-A advances MC-B (in level0) to the "ready" frame.

The next time the level0 movie reaches a trigger frame, it advances MC-B
ahead one frame. MC-B is sitting in the "ready" frame, poised for action!
And the next frame is the one that says "park thyself and command thy
brother on level1 to dispatch at once." Ever vigiland, MC-B springs into
action, and the rest is Flash history in the making.

Now, David, if you are getting paid for this work you owe me something. And
if you're not getting paid for it, you're being ripped off because this is
some honkin' code.

[I got sleep last night]

take care.


Marc Hoffman
<marchofatjps [dot] net (mailto:marchofatjps [dot] net)>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Create your own music at the Poison Dart Frog Music
Digital Audio Playground: <http://www.jps.net/dartfrog>

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

  FLASH: A Tool for any web developer!!!! , Chris Jester (CTS Technic
  FLASH: Lobby level? Flash3, David Gary
  Re: FLASH: Lobby level? Flash3, John Croteau
  Re: FLASH: Lobby level? Flash3, David Gary
  Re: FLASH: Lobby level? Flash3, John Croteau
  Re: FLASH: Lobby level? Flash3, David Gary
  Re: FLASH: Lobby level? Flash3, John Croteau
  Re: FLASH: Lobby level? Flash3, Marc Hoffman
  Re: FLASH: Lobby level? Flash3, David Gary

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