AS3 complex scene and movie clip toggling:
I have a project that has a winter scene and a summer scene. There are two buttons: one to click on the winter and another to click on the summer. The movie clips are of animals on the two scenes, winter versions and summer versions of the animals. I have managed to make this work so that you can click on the winter button, and you can click on a winter animal, it zooms in, then you click on it again to make it zoom back out. Our clientele would like to be able to click on the winter animal, have it zoom in, then, they would like to click on the summer button so that they can see the same animal, zoomed in, in its summer version. It's not working...any hints at coding on this?
Would I add it after this, and how could I structure it? Would I have to name each movie clip? I really have no idea how to tackle this.
function playInstance(e:Event)
{
var m:MovieClip = MovieClip(e.target);
// move the background forward to cover previous clicked-on instances
m.parent.addChild(faded_background);
// move this child to the top;
m.parent.addChild(m);
// play;
m.play();
rollOutSetFilter(m);
}