• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

New Here ,
Nov 12, 2018 Nov 12, 2018

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?

TOPICS
Development

Views

426

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 13, 2018 Nov 13, 2018

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 14, 2018 Nov 14, 2018

Copy link to clipboard

Copied

LATEST

Hi,

Thank you for reporting the issue!

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines