In this case the MovieClipLoaders are unique instances in separate
SWFs... well the same SWF but loaded twice. I tried it anyway and didn't
have any success. I did find a work around however. I force the load
through the root via the following function on the root time line...
function loadClip(url: String, target: MovieClip, listener: Object): Void
{
var loader: MovieClipLoader = new MovieClipLoader();
loader.addListener(listener);
loader.loadClip(url, target);
}
Instead of using MovieClipLoader in my class I use this. It's nasty but
it's working.
Bjorn Schultheiss wrote:
> I've been calling MovieClipLoader.unloadClip() prior to loading
> further clips.
> That was my fix for the same problem
>
> Bjorn
>
> On 25/01/2007, at 5:13 AM, Paul Spitzer wrote:
>
>> I'm convinced I've found a bug...
>>
>> I have a very simple Flex app that performs two loads of the same FP7
>> SWF file (via Loader). The FP7 SWF then uses MovieClipLoader to load a
>> JPG. The first SWF loads the JPG without any problems but, the second
>> fails. The onLoadInit handler is never called. Neither is the
>> onLoadError or even onLoadStart. According to Charles the request for
>> the JPG never makes it out of Flash.
>>
>> Odd thing is if I take the identical MovieClipLoader code out of the
>> class and move it to the root time line the subsequent load functions
>> properly.
>>
>> I've attached the project. Any help or at least a confirmation that this
>> /should/ work would be appreciated.
>>
>> Thanks,
>>
>> Paul
>>