Flasher Archive

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


Subject: Re: FLASH: Tell Target for Multiple Targets
From: Jon Williams
Date: Thu, 29 Jun 2000 21:09:47 +0100

you can target "all" clips in a movie by doing

Begin Tell Target ("")

Dunno how that works with more complicated nesting though...
like if you need to do it from/to a timeline that isn't the root... (?)

There's always the while loop...

Set Variable: "count" = 1
Loop While (count <= 10)

Begin Tell Target("/p" & count)
If (_currentframe eq "gone")
Play
End If
End Tell Target

Set Variable "count" = count + 1
End Loop

one of these approaches should work.
I support the second because you'll keep your
hair a lot longer.

-jon

Joe Dames wrote:

> Howdy!
> Do I need to repeat tell target statements in order to target multiple
> targets or can I bundle all of the targets into one statement with some
> *clever* syntax?
>
> single target:
> On (Roll Over)
> Begin Tell Target ("/p2")
> If (_currentframe eq "gone")
> Play
> End If
> End Tell Target
> Begin Tell Target ("/p3")
> If (_currentframe eq "gone")
> Play
> End If
> End Tell Target
> Begin Tell Target ("/p4")
> If (_currentframe eq "gone")
> Play
> End If
> End Tell Target
> Begin Tell Target ("/p5")
> If (_currentframe eq "gone")
> Play
> End If
> End Tell Target
> Begin Tell Target ("/p6")
> If (_currentframe eq "gone")
> Play
> End If
> End Tell Target
> Begin Tell Target ("/p7")
> If (_currentframe eq "gone")
> Play
> End If
> End Tell Target
> Begin Tell Target ("/p8")
> If (_currentframe eq "gone")
> Play
> End If
> End Tell Target
> Begin Tell Target ("/p9")
> If (_currentframe eq "gone")
> Play
> End If
> End Tell Target
> End On
>
> or Joe's *clever* syntax
> On (Roll Over)
> Begin Tell Target ("/p2","/p3","/p4",etc,"/p9")
> If (_currentframe eq "gone")
> Play
> End If
> End Tell Target
> End On
>
> Thanks,
>
> Joe
>
> 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


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: Tell Target for Multiple Targets, Joe Dames

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