increase.addEventListener(MouseEvent.CLICK, IncreaseFrame);
decrease.addEventListener(MouseEvent.CLICK, DecreaseFrame);

 

 

function IncreaseFrame(evt:MouseEvent):void {
stage.frameRate += 10;
}
function DecreaseFrame(evt:MouseEvent):void {
stage.frameRate -=10;
}

Bu makale 237 kere okundu.

Share to Facebook Share to Twitter Share to MySpace Stumble It Share to Reddit Share to Delicious More...

 

   

as3-dinamik-framerate



Linkler



Son Yorumlar

  • Erhan

    tam aradığım konu ama eksik...

  • zuleyha

    burcumu nasil okuyabilirim ...

  • kerem bora

    Maili dün yazmıştım, bugün ...

Twitter