Apache – Flex: App sometimes never gets past preloader

apache-flexflex3

Sometimes my Flex app, freezes on the preloader, and never reaches the main app. Refreshing the page usually fixes this. But I have no idea what would cause this. I am being told that this is happening in different browsers.

Any ideas?

I have noticed this on other Flex apps as well, so I don't really think its something specific with my app causing it. I am thinking maybe its a bug that there is hopefully a work around for?

Thanks!!

Best Answer

Has this also happened in debugger version of the flash player? Sometimes an error stops the application from initializing properly and a regular player will simply appear to freeze.

The issue probably has to do with your application - for example loading assets, sending url requests, parsing flashVars - though it could be something unpredictable. I haven't encountered such a problem enough times to remember during the two years I've developed Flex, so at least it's not something very common.

Logging is a good idea - at least make traces to events like preinitialize and initialize in your main tag to see how far you get.

Related Topic