Vi metto anche l'AS che ho usato per il puntatore:
stage.addChild(puntatore);
puntatore.mouseEnabled = false;
puntatore.addEventListener(Event.ENTER_FRAME,fl_Cu stomMouseCursor);
function fl_CustomMouseCursor(event:Event)
{
puntatore.x = stage.mouseX;
puntatore.y = stage.mouseY;
}
Mouse.hide();;
E quello che ho usato per il tastino che riporta indietro:
torna.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_3);
function fl_ClickToGoToAndStopAtFrame_3(event:MouseEvent):v oid
{
gotoAndStop(1);
}