Flasher Archive

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


Subject: FLASH: eval in Tell Target-ActionScript
From: Irfan Uygur
Date: Tue, 18 Jan 2000 08:24:06 GMT

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


Replies
  Re: FLASH: eval in Tell Target-ActionScr, Cheri Harder
  Re: FLASH: eval in Tell Target-ActionScr, Nathan Dicken

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