Problems trying to access a MovieClip that contains a dynamically loaded
image, inside dynamically created menu items.
I hope the code is self explanatory !
function mouseOverItem(e:Event):void {
var item:MenuItem = e.target as MenuItem;
trace (item.getChildAt(3).name);
trace
Just a thought, try doing getChildByName(icone);
What it looks like, is that there is no member variable in the MenuItem
class called icone. You can't call object.child by using the name property
of the child. The bt_title does, because probably you have defined in the
MenuItem class a variable
2 matches
Mail list logo