Hi,
I have a movie clip which essentially contains an image. And each time someone rolls over the image I'd like to replace that image with another image in the same spot. So I tried making the image a movie clip and on rollover I removedMovieClip and then I attached the new movie. The only partially works. I am forced to change the name of the movieclip instance each time. That is if have an image called img(instance name) then I do a holder.img.removeMovieClip() and I am not able to holder.attachMovie(Image3,img,depth), but I can holder.attachMovie(Image3, img1,depth). That is if I change the instance name it works. Now if I want my movie to keep running and everyTime there was a mouse Over, then my instance names would keep growing tremendously. Is there an easier way of doing this? Any suggestions would be appreciated.
Thanks.
I have a movie clip which essentially contains an image. And each time someone rolls over the image I'd like to replace that image with another image in the same spot. So I tried making the image a movie clip and on rollover I removedMovieClip and then I attached the new movie. The only partially works. I am forced to change the name of the movieclip instance each time. That is if have an image called img(instance name) then I do a holder.img.removeMovieClip() and I am not able to holder.attachMovie(Image3,img,depth), but I can holder.attachMovie(Image3, img1,depth). That is if I change the instance name it works. Now if I want my movie to keep running and everyTime there was a mouse Over, then my instance names would keep growing tremendously. Is there an easier way of doing this? Any suggestions would be appreciated.
Thanks.