This content has been marked as final. Show 3 replies
What is the problem you are having... that is, what isn't happening? I tried your code with two simple rectangle movieclips and it worked as I think you expect it to. The only thing I changed was the loop's printThumbArray, since I don't know what that is... I just replaced it with a fixed number (3) based on the 2 pieces I had. Since it's not defined in your sample code, maybe you just missed including it?
printThumbArray is an array populated with thumbnail images. Right now, there are 11 images in the array. The loop is supposed to place the thumbnail images in an empty movie clip, printThumbHolder_mc. The problem is that the thumbnail images are not being placed on the stage. The yStart variable is not working. When I did a trace, yStart shows 175, the starting point, and then is either undefined or NAN. Any thoughts?
Thanks for the help!
i believe there may be simpler way to do this - as well as there being a small issue in the loop with starting at the array index of 1 - also if the images are listed in the array then you do not need to use the 'name' string in the method and can use the array value instead. additionally make sure that the linkage ID is set to the string name given to the clip in the Library. something more like the following: