Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Target expressioned frame |
From: | Gilbert Irias |
Date: | Thu, 26 Aug 1999 23:27:12 +0100 |
I have the following script:
Set Variable: "counter" = 1
Set Variable: "poscounter" = 2
Loop While (counter < 5)
Set Variable: "buildingpicker" = Random(3) + 1
If (buildingpicker = 1)
Duplicate Movie Clip ("_level0/Buildings/RedBuilding",
"GenBuilding"&counter, counter)
Else If (buildingpicker = 2)
Duplicate Movie Clip ("_level0/Buildings/BlueBuilding",
"GenBuilding"&counter, counter)
Else If (buildingpicker = 3)
Duplicate Movie Clip ("_level0/Buildings/GreenBuilding",
"GenBuilding"&counter, counter)
End If
* Begin Tell Target ("_level0/Buildings/GenBuilding"&counter)
* Go to and Stop ("1_"&poscounter)
* End Tell Target
Set Variable: "counter" = counter + 1
Set Variable: "poscounter" = poscounter + 2
End Loop
In the MC "GenBuilding[counter]" I have frames labeled 1_1, 1_2, 1_3...etc.
In the lines starred above, I would like to tell this MC to goto label
"1"&poscounter. I've tried it as an expression but it doesn't work. Telling
the MC to goto label 1_1 works fine. But I need to use the variable in the
frame reference. I've also tried going to expression poscounter (where
poscounter is a frame number instead) but that too fails to work. An object
check and other interaction shows me that the MC's are on screen.
Thanks for any help.
------------------- ------- ----- --- -- -
Gilbert Irias
Web Designer
A l p h a n u m e r i c a
www.alphanumerica.com
V> 212.414.4212 x112 F> 212.414.4233
E> gilbertalphanumerica [dot] com
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: Target expressioned frame, John Croteau
Re: FLASH: Target expressioned frame, Paul Kaiser
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]