i’m writing a flash movie that creates a few boxes displaying an image that you can fling around the screen with a sort of gravity effect eventually slowing them down.
I’ve managed to do what i thought would be the hard part…
i’ve made a movie clip in which theres a button (to detect the clicks and drags) which contains a graphic (a .png file). After adding some nice bits of code, I can now stick loads of instances of the movie clip on the main stage and then start flinging them round. Marvellous. Now what I want to do next is change the image displayed on the button in each instance of the movie.
logically, something like :
myinstanceofmovie.nameofbutton.mygraphic=“name_of_other_image.png”
…or something…
Anyone got any idea how to do this? halp!
hope that was all very clear…!!!