I'm using BulkLoader to load in images, SWFs, XML, etc into a game.
When working local, the content property on the LoadingItem is always good depending on the type of asset: Bitmap if it's an image, MovieClip if it's a SWF etc.
When I test the same swf, but under localhost, or online, the content property is always a Loader object.
Is this normal? Am I missing out a parameter or something?
OK, for those that have the same problem - ImageLoader, line 57:
Basically what was happening was that a
SecurityErrorwas occurring (though silently), which would set thecontentproperty to theLoaderand not theLoader.content.It was fixed with adding a
Security.loadPolicyFile()before loading.