Copy link to clipboard
Copied
I use this code for showing the bug
addEventListener(Event.ENTER_FRAME,example)
var temp=0;
var tf=new TextField();
tf.scaleX*=5;
tf.scaleY*=5;
addChild(tf);
function example(e)
{
temp++;
tf.text=String(temp);
}
0:00~0:12
there is a short time freezing when I press the title bar.
0:13~0:21
When I press the title bar in keeping pressing button, The AIR program pauses.
I must solve this problem for my game development.
What can I do for removal of this pausing phenomenon?
Copy link to clipboard
Copied
i've writen my own code using AS3 Desktop Air version 26.
import flash.events.Event;
this.addEventListener(Event.ENTER_FRAME,Count);
var a:Number =0;
function Count(e:Event):void{
a++;
txt.text = String(a);
}
Didnt freezed at all.
as txt im using the Label component that flash provides.
Check your code, you might be wrong somewhere. or just old version of Air.
Copy link to clipboard
Copied
Hi,
Thank you for reporting the issue!
Please log a bug on Tracker and attach the sample application code.