Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

putting copied movieClip into a variable

Status
Not open for further replies.

tziviak

Technical User
Oct 10, 2002
128
US
I used the duplicate movie clip to duplicate a m.c-but later on I want to refer to it in a variable-so how can I put the value of the copied m.c into the variable?
here's my code:

duplicateMovieClip("Tline","TLine"+number,2);
avail="TLine"+number;
number++;

when I trace avail now I get Tline5 (for ex.)-but it doesn't reflect the real line that got duplicated
thank you
 
This in a for loop?

Post all your code? Or better a link to your .fla.

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top