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

creationComplete send twice

Contributor ,
Sep 13, 2012 Sep 13, 2012

Copy link to clipboard

Copied

I'm testing the performance of my AIR 3.4 for iOS application and I noticed that the creationComplete event is sent twice. It occurs for a View that has in it something as simple a Label. If there is nothing in the View, the creationComplete event is only sent once.

What is happening here?

TOPICS
Performance issues

Views

984

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 ,
Sep 14, 2012 Sep 14, 2012

Copy link to clipboard

Copied

Sent to our iOS team for their review.  Is this something that has just started with 3.4?

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
Contributor ,
Sep 16, 2012 Sep 16, 2012

Copy link to clipboard

Copied

Chris Campbell wrote:

Sent to our iOS team for their review.  Is this something that has just started with 3.4?

I don't think so. I've just started looking deeply into the performance of my app built with 3.4.

I'm trying to determine where my app is spending most it's time. That's when I noticed the creationComplete event is fired twice. I've placed timing traces on preinitialzise and creationCompete events and I see the second creationComplete is taking twice as long as the first.

That's why I'm trying to understand why the second creationComplete is being fired.

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 ,
Sep 17, 2012 Sep 17, 2012

Copy link to clipboard

Copied

Hi Chris,

I created a AIR 3.4 sample app, with a simple label on a view but could not reproduce the issue.

I could see creationComplete being sent just once.

Could you please provide sources of your app or a sample app so that we are able to reproduce the issue at our end.

Thanks,

Krati

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
Contributor ,
Sep 17, 2012 Sep 17, 2012

Copy link to clipboard

Copied

LATEST

Sorry, my mistake. I created a trace on contentCreationComplete by copying the creationComplete trace code, but forgot to change the message.

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