>  private function resetState( e:Event )
> {
>       var clip;
>       var buttons:Array;
> 
>       switch(e.target.buttonType)
>       {
>        case 0 :
>               clip = e.target as MenuButtonMain;
>               buttons = _menuButtons;
>                 break;
>        case 1 :
>               clip = e.target as MenuButtonSub;
>               buttons:Array = _subMenuButtons;
>               break;
>       }

Sorry--cut and paste error. The case 1 reference to buttons should be

        buttons = subMenuButtons;

without the :Array type identifier.

Cordially,

Kerry Thompson

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to