Skip to main content
Inspiring
September 13, 2012
Question

creationComplete send twice

  • September 13, 2012
  • 4 replies
  • 1088 views

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?

This topic has been closed for replies.

4 replies

chris.campbell
Legend
September 15, 2012

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

Inspiring
September 16, 2012

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.

Participating Frequently
September 17, 2012

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