-
i have this code:
for (i=1; i<4; i++) {
for (j=1; j<5; j++) {
createEmptyMovieClip("box" add i add j, 11);
loadMovie(i add j add ".jpg", "box" add i add j);
box = "box" add i add j;
box._x = (i-1)*(68+14.2);
box._y = 23.9+(j-1)*(120+25.2);
}
}
but this part:
box = "box" add i add j;
box._x = (i-1)*(68+14.2);
box._y = 23.9+(j-1)*(120+25.2);
DOESN'T WORK! what did i do wrong??
and writing a line for each object's _x, _y properties isn't a solution
please help..
note: i tried to do this in flash MX
-
What is box? Because you are adding text values then some variables to it.
-
It seems that each clip created is being made in depth level 11 ... that means there will always only ever be one.
Is that what you meant to do?
-
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
|