Hi all,

Just thought I'd post up saying I solved the problem for anyone searching the
archives.

I was using onLoadInit to make the image fade in once it was loaded.
For some reason, when using onLoadInit the whole loadClip called just doesn't
get called at all for crossdomain images.

When i changed it to onLoadComplete however everything works find. The
crossdomain.xml file gets called and everything is fine.

I'd been under the impression onLoadInit was better to use that onLoadComplete
so i'm still at a bit of a loss in that regard, but the code is working and
I'm happy.

Thanks,

- Kevin

On Fri, Jul 28, 2006 at 02:59:33PM +0100, Kevin Cannon wrote:
> Hi,
> 
> I've managed to narrow down the problem. I'm using the MovieClipLoader class
> so I canfade in an image once loaded. It won't load the image crossdomain with
> the loadClip function, but if I just use plain old loadMovie it works fine.
> 
> This works:
>       targetClip.loadMovie(imagePath);
> 
> But this code doesn't:
>       var mcLoader = new MovieClipLoader();
>       mcLoader.addListener(this);
>       mcLoader.loadClip(imagePath, targetClip);
> 
> I've no idea why using the loader class wouldn't work when it's deployed.
> 
> Anyone got any ideas?
> 
> Thanks,
> 
> - Kevin
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to