Senior Member
How to make this work in flash mx
How to make this work in flash mx, I know it has syntax errors so whats the correct code
"pillars"+n.label=menulist[n];
pillars is the name of the movie clip
label is the dynamic text inside it
menulist is the array of different names
Thanx in advance
just by itself it does nothing. needs to be in a for loop. and you need a timeline prefix with square bracket, like: this["object"+var]
gparis
Please clarify your question
do you have a movie clip named pillars with multiple text fields in it, or do you have multiple movie clips that start with "pillars" and then a number?
---
Thinking outside of the box will get you fired if the "box" is strict budget.
Senior Member
Originally Posted by
gparis
just by itself it does nothing. needs to be in a for loop. and you need a timeline prefix with square bracket, like: this["object"+var]
gparis
I am attaching my fla which is of same sort can you make it work please.
I just want a trail of balls moving horizontally in this fla
Thanx in advance
Attached Files
Senior Member
Code:
duplicateMovieClip("ball", "ball"+n, n);
ball._x+=10;
n++;
use this code on your 2nd frame
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width