Skip to main content
Inspiring
Sep 13, 2012 7:56 AM UTC
Question

creationComplete send twice

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

chris.campbell
Legend
Sep 15, 2012 1:15 AM UTC

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

Translate
Inspiring
Sep 16, 2012 11:10 PM UTC

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.

Translate
Participating Frequently
Sep 17, 2012 8:51 AM UTC

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

Translate