Flasher Archive

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


Subject: Re: FLASH: Endless Loop w/two MC's (action script)
From: Mark Sheppard
Date: Tue, 20 Jun 2000 19:31:51 +0100

----- Original Message -----
From: "Jason White" <jaswhiatmdls [dot] usu [dot] edu>

>I have a button which starts one movie clip, then I want it to watch that
clip til it gets to frame 22 and then start >another clip. I am trying a
While Loop...but for some reason as soon as Flash starts to play the first
target

why not just put a tell target on frame 22 of the clip you just started to
tell target the other clip?

I don't understand the loop while thing totaly, but I dont think your
variable will be getting updated the way it sits in this one frame...

maybe if you split the actionscript into two frames..

one frame: labeled loop
Set Variable: "a" = GetProperty ( "/page1", _currentframe )

next frame
if a <= 22 GoTo and play loop
else
Begin TellTarget blah blah
Play

Obviously these aren't in proper action script form, but I think you'll get
the point
---------------------------------------------
Mark Sheppard
AKA Zachnefein
zach29atcolumbus [dot] rr [dot] com
---------------------------------------------

>—-----------------
>On Release
> Begin Tell Target ("/page1")
> Go to and Play ("submitdata")
> End Tell Target
> Set Variable: "a" = GetProperty ( "/page1", _currentframe )
> Loop While (a < 22)
> Set Variable: "a" = GetProperty ( "/page1", _currentframe )
> End Loop
> Set Variable: "a" = "done"
>End Release
>—-------------------


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: swf plays slow on fla machine -oo, michael werth
  FLASH: swf plays slow on fla machine, michael werth

Replies
  FLASH: Endless Loop w/two MC's (action s, Jason White

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