I think this is a fairly common operation - a loop instantiates an
object passing the iterator variable to the constructor. The object
being instantiated needs to take it's name from the current iterator.
                
        for(var i:Number=0; i<mData.length; i++){
                var how2NameMe :IStartupProxy =  new AssetProxy( mData[i] );
        }


 In pre-AS3 days i'd do something like:

   var this["rAsset" + mData[i].ToString()] :StartupResourceProxy =
makeAndRegisterStartupResource( SRNAME , this);

That seems not to be an option anymore.

mny thx
--steve...

Reply via email to