I have a class which extends a SWC , in the swc i have two boxes, front and
back and an animation on the same timeline. The animation works fine without
swapping when I swap them the animation stops working. Anyway I can make it
work?

I have the following code :

    var frontTemp:DisplayObject =
this.animationInstance.getChildByName("front");
    var backTemp:DisplayObject  =
this.animationInstance.getChildByName("back");
    this.animationInstance.swapChildren(frontTemp,backTemp);
    this.animationInstance.gotoAndPlay("animation");


Fahim Akhter
Game Developer | White Rabbit Studios |
http://apps.facebook.com/feline-frenzy/
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to