主ã«ãã©ãã·ã¥ã®åå¿é²import flash.utils.getTimer; var oldTime:Number = getTimer(); addEventListener( Event.ENTER_FRAME, getFrameRate ); function getFrameRate( e:Event ){    // ï¼ãã¬ã¼ã ã«ããã£ãæéããfpsãè¨æ¸¬    var fps:Number = 1 / ((getTimer() - oldTimer) / 1000);    // å°æ°ç¹ç¬¬ï¼ä½ã«ä¸¸ãã¦ãã¬ã¼ã¹    trace( Math.round( fps * 10 ) / 10 );    oldTime = getTimer(); } ã¡ãªã¿ã«SWFã«è¨å®ããããã¬ã¼ã ã¬ã¼ããè¦ãå ´å㯠stage.frameRate ã§ç¢ºèªã§ãã¾ãã åçã«ãã¬ã¼ã ã¬ã¼
{{#tags}}- {{label}}
{{/tags}}