Hey,
Sorry to ask such a noob question but…
I know how to make instances of objects (obviously) but if I am dynamically making them through a for() loop how can I keep references to them, simply and efficently. Making tones of variables isnt going to help. I don’t know what I should search for as the questions is a bit general.
In AS2 I would:
- make a holder
- attach some movies in it through a for() loop
- refer to them by set name like (mc1, mc2… etc)
In AS3 I am:
- making my for() loop and instances with it [ var a = new Thing ] [ a.someFunction() ] [ a is erased from memory at end of loop ]
- wondering how I should refer to them…
Thanks for the help,
Dan :h: