Frage

I have five SWF files that are loaded into a main SWF. All five load when testing in the Flash CS3 IDE.

When testing in the browser, only three of the five SWF files load. Loading just haults after the first three. No IOErrorEvent is triggered, and I am sure that the URLs for the SWFs are correct.

I have used MonsterDebugger to pinpoint this issue. I have tried removing the two non-loading SWFs from the load queue, and the site commences normally when I do this. I have tried recompiling the SWFs that are not loading and have combed through them looking for strange run-time errors.

Are there any reasons that can be shared as to why this would be happening?

The URLS are absolute.

War es hilfreich?

Lösung

You can always try to see what's going on with a debug player ( http://www.adobe.com/support/flashplayer/downloads.html )

Anyway, the most common errors for this to happen is that you either are trying to load a cross-domain asset, which makes the flash player look for the crossdomain.xml file ( see http://aralbalkan.com/740 ) Also it may have something to do with the security sandbox you're in ( Security Sandbox in AS3 ) . Try compiling your swf by enabling network-sandbox .

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top