like
var Happy:Array
Happy[Happy.length] = "_root.Train1_mc"
if (evaluate this string as an expression(Happy[Happy.Length])._x == 100({Do stuff}
and it would be the same as
if (_root.Train1_mc._x == 100){Do stuff}
like
var Happy:Array
Happy[Happy.length] = "_root.Train1_mc"
if (evaluate this string as an expression(Happy[Happy.Length])._x == 100({Do stuff}
and it would be the same as
if (_root.Train1_mc._x == 100){Do stuff}
Look into the eval function
thank you sir
:: Copyright KIRUPA 2024 //--