This content has been marked as final. Show 6 replies
You should use the attach code button. If you type in [ i ], it simply makes the remaining text italic and it makes it hard to see what is missing in your script.
can you show me an example pls
OK I did the attach code, I am trying to get the thumbnail pic to be difrent with each button and I am trying to dynamicly add onrollover code to each button cause the onrollover code will change depending on what number i is
ok I got the thumbnails to show up but now I dont know how to resize them because when I try it they dont show up or the resize doesnt work at all. And when you roll over the any of the thumbnails the text is always for the last test in the array. Please can some one help me its driving my bonkers.
Why are you incrementing i inside you for loop? I don't see that you have
i+1 in your code anywhere so why the double increment?
t.Image.loadMovie(ThumbnailsImages , "image"+i);
t.Image._x = 0;
t.Image._y = 0;
You can do this but I wouldn't. You are attaching a clip from the library
anyway. Why not just put an empty movie clip within your thumbnail container
clip, and reference it? You reference text fields in it. I think it makes
more sense to just have an empty 'pic' clip pre-existing in the container.
So then those four lines become:
And I'd recommend switching to using the MovieClipLoader class. loadMovie is
Adobe Community Expert
ok I have changed the section that places the thumbnails to this
t.Thumbnail_Button.PlaceImageHere.contentPath = _root.ThumbnailsImages ;
and I placed a loader inside the Thumbnail_Button called PlaceImageHere but the image doesnt show up. Any ideas?