I'm new to AS3 and I'm trying to find an easier way to get a child element of a clip.
AS2 equivelant :
user_mc.btn_mc.btn
AS3 I'm doing this:
var user = this.getChildByName("user_mc");
var btnmc = user.getChildByName("btn_mc");
var btn = btnmc.getChildByName("btn");
Is there an easier syntax? There has to be, right?
AS2 equivelant :
user_mc.btn_mc.btn
AS3 I'm doing this:
var user = this.getChildByName("user_mc");
var btnmc = user.getChildByName("btn_mc");
var btn = btnmc.getChildByName("btn");
Is there an easier syntax? There has to be, right?