Flasher Archive

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


Subject: Re: FLASH: Tell Target > Go to MC frame by label vs number
From: Randy Smith
Date: Sat, 24 Jun 2000 05:31:04 +0100

Thanks Victor, it works. A great promise.

Cheri and Ted, both your methods behaved the same as many of my own trial
and error tests. They would play the movie clip from frame 1 up to the first
stop statement even though I was trying to target a label further down.

Although I'm just getting up to speed in Flash 4, I'm already anxious to see
actionscript improvements in version 5. There is plenty of room to grow to
make coding in Flash more intuitive. It should be an interesting release.

Have a great weekend all,
Randy

> Try this:
>
> frameLabelToPlay="/anim_mc:anim_"&x&"_"&y
>
> *Select Go To Expression... DON'T USE TELL TARGET, GO TO EXPRESSION DOES NOT
> WORK WITH TELL TARGET...
>
> Go To and Play(frameLabelToPlay)
>
> This way, u tell the target and the frame of that target to Go after the ":"
> as if it was a variable, but it's a label or a frame number for the Go To
> function.
>
> It works, I promise... :)
>
> Bye.
>
> -------------------------------------------------------------------
> http://www.geocities.com/ktulu_the_best
> -------------------------------------------------------------------
>
> ----- Original Message -----
> From: Randy Smith <brsmith2ataci [dot] on [dot] ca>
> To: <flasheratchinwag [dot] com>
> Sent: Saturday, June 24, 2000 1:06 AM
> Subject: FLASH: Tell Target > Go to MC frame by label vs number
>
>
>> Hi Folks,
>>
>> Well I've rummaged around for an answer and tried messing with the syntax
>> but I can't seem to get it right. I'm starting to think it doesn't work
> this
>> way and that I'll have to do some math and reference the movie clips frame
>> by number instead of label.
>>
>> I have a movie clip with 25 labels for example ...
>>
>> label_1_1
>> label_1_2
>> label_1_3
>> ...
>> label_5_5
>>
>> and I'm trying to Go To and Play a label in the movie clip from a variable
>> that has been concatenated in the main timeline. Leading up to this event
>> the variables x and y are set to numbers between 1 and 5.
>>
>> Set Variable: "frameLabelToPlay" = "anim_"& x & "_" & y
>> Begin Tell Target ("/anim_mc")
>> Go To and Play( frameLabelToPlay )
>> End Tell Target
>>
>> Anyway, my Director thinking doesn't work here. Is there a way to do this?
>>
>> TIA,
>> Randy
>>
>>
>> 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
>


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
  RE: FLASH: Tell Target > Go to MC frame , JGL

Replies
  RE: FLASH: Tell Target > Go to MC frame , Victor Villen

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