Flasher Archive

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


Subject: Re: FLASH: eval in Tell Target-ActionScript
From: Nathan Dicken
Date: Tue, 18 Jan 2000 14:11:05 GMT

Irfan,

Esentially you can eliminate the need for the "If" statement. This should
work as long as the movie clips that you're trying to reference are
available in the same frame that these actions are called.

Begin Tell Target ("/"&prev_movie&"_mov")
Go to and Play ("fade")
End Tell Target

Nathan

--------------------------------------
Nathan Dicken
Fusionary Media
http://www.fusionary.com



>Hi,
> is it possible to pass the target name for Begin Tell Target
>dynamically ?
>I have lots of if's like below:
>what i want to do is to send a variable to this code so that there will be
>only 1 Begin Tell Target referencing
>to the passed variable; something like Begin Tell Target ("/" & movie_name
>& "_mov") where movie_name will be
>n,e,s,w,ne,se etc.. i tried this but didn't work
> any ideas ?
>
>If (prev_movie eq "n")
> Begin Tell Target ("/n_mov")
> Go to and Play ("fade")
> End Tell Target
>End If
>If (prev_movie eq "ne")
> Begin Tell Target ("/ne_mov")
> Go to and Play ("fade")
> End Tell Target
>End If
>If (prev_movie eq "e")
> Begin Tell Target ("/e_mov")
> Go to and Play ("fade")
> End Tell Target
>End If
>If (prev_movie eq "se")
> Begin Tell Target ("/se_mov")
> Go to and Play ("fade")
> End Tell Target
>End If
>If (prev_movie eq "s")
> Begin Tell Target ("/s_mov")
> Go to and Play ("fade")
> End Tell Target
>End If
>If (prev_movie eq "sw")
> Begin Tell Target ("/sw_mov")
> Go to and Play ("fade")
> End Tell Target
>End If
>
>Irfan Uygur
>irfanatpusulanet [dot] com [dot] tr
>
>
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
>Reserve your space today at http://www.streamingmedia.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...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: eval in Tell Target-ActionScript, Irfan Uygur

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