Hi guys, starting to test my game and realizing I may have made a huge error in the design. I have a "hit tester" MovieClip in the timeline with hundreds of keyframes (all given the same exact instance name), moving it along with the character's animation.
I'm debugging and realizing thousands of instances are being created somewhere.
Is each keyframe of a MC instance in the timeline the equivalent of coding "mc1:MovieClip = new MovieClip()" ?
This problem is really bringing my project to a stand still so any help is incredibly appreciated!
Thanks |
Thanks kglad
So is there a way to get flash to NOT create a new object at each keyframe? Just re-use the same object. I've read a few different theories on this.
If I make sure on every single keyframe in the timeline this object is there with same instance name, does that help? I read that any keyframes in between (on other layers or not) will result in a new object being created.
North America
Europe, Middle East and Africa
Asia Pacific