personally, i just give the name of my sprite which i form from the plane itself a name like you mentioned, so..
var container:Sprite = plane.container;
container.name = "foo";
container.addEventListener( MouseEvent.MOUSE_OVER, planeOver );
..then in the function youre calling, use e.currentTarget.name whereby your function is..
private function planeOver(e:Event):void {
For me, this method works great
Posted about 1 month ago













