Skip to main content
예강문80415003
Participant
November 13, 2018
Question

There is a freezing when I press the title bar of my AIR program

  • November 13, 2018
  • 2 replies
  • 481 views

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?

This topic has been closed for replies.

2 replies

Amrita Gangwani
Adobe Employee
Adobe Employee
November 15, 2018

Hi,

Thank you for reporting the issue!

Please log a bug on Tracker and attach the sample application code.

GogetaX
Inspiring
November 13, 2018

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.