This content has been marked as final. Show 3 replies
Alright i took a stab at it. For this situation i might suggest using some actionscript to make your life easier and make all the buttons and handlers and what not for you.
to get this to work, you need a symbol in your library that has a text field called "textField" and it has to have the linkage name "button" and it needs to have some kind of background graphic. and obviously you have to have the gif next to the flash file. AND call the thumbnail graphics thumbnailInvitation_1.gif , 2, 3 etc.
You can see at the end that i was doing some weirdo things like using the name to store "i" with the movie clips, and then using the number() function to pull it back out and create the filename.
I will give it a try thanks for all your help
If you use the MovieClipLoader.loadClip instead of loadMovie then you can use the onLoadInit event to resize your image, other wise you won't know when the image is fully loaded and until then the width and height are not available.