I'm migrating an AS2 project to AS3. I'm not sure how to approach this part of the migration. I have a MovieClip called "us_states_mc". It contains 50 MovieClips, one of each US state. "us_states_mc" has this code inside it:
for (var item in this) { this[item].id = item.toString(); this[item].onRelease = function () { _root.zoomToState(this.id); }; }; How can I recreate this functionality in AS3? _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders