Cannot load SWFs larger than 32768 bytes

I have an ActionScript 3 project in which I'm using a Loader to load external SWFs. In Chrome, the Flash Player will not fire Event.COMPLETE if the size of the SWF is greater than 32768 bytes! Any idea why or how to work around this issue?

I tried to use ProgressEvent.PROGRESS and execute the logic when event.bytesLoaded == event.bytesTotal. This works, it does get there, but then loader.contentLoaderInfo.applicationDomain.getDefinition() can't find the class inside the SWF.


It seems that this problem only occurs if the event listener is added as a weak reference. Removing the weak reference solved the problem.

Need Your Help

What is the best approach to change primary keys in an existing Django app?

python django data-migration django-south

I have an application which is in BETA mode. The model of this app has some classes with an explicit primary_key. As a consequence Django use the fields and doesn't create an id automatically.

Asyncsocket connection success in one wifi but not in another one

iphone .net ios ipad asyncsocket

I am using cocoaasyncsocket (on an iPad) to connect to a tcp/ip server (dotnet on a PC). There are several wifi networks here. When iPad and PC are all in one specific wifi, everything works fine. ...