Ciao,
sto studiando l'as3 anche guardando codice già fatto ed avrei dei dubbi sul codice seguente:
in particolare non capisco che cosa è l'espressione fe (può essere un evento qualsiasi che fa andare lo stage a fullscreen?)codice:stage.addEventListener( FullScreenEvent.FULL_SCREEN, check_screen_mode ); . . . . function check_screen_mode( fe:FullScreenEvent ) { if ( fe.fullScreen ) { this.x = Math.floor( stage.stageWidth * 0.5 ); this.y = Math.floor( stage.stageHeight * 0.5 ); } else ecc...........
Poi non capisco a quale oggetto si riferisce il "this.x" e "this.y"
ciao

Rispondi quotando