*sigh* Yes - just a typo on my part.
Cheers,
Ian
On 2/28/07, Karina Steffens <[EMAIL PROTECTED]> wrote:
H Ian,
_level0.nav1.nav.mod0.inst0.clip1.inst1.inst2.inst1.res17
You still have inst1 duplicated here - or is this a typo?
Thanks for sharing your findings, btw :)
Karina
> -Original Message-
> From: Ian Thomas [mailto:[EMAIL PROTECTED]
> Sent: 26 February 2007 18:42
> To: Flashcoders mailing list
> Subject: [Flashcoders] [Solution] MovieClipLoader woes
> (Irritating BugAlert!)
>
> Hi folks,
>I just thought I'd share the solution to this - a very irritating
> AS2 bug/feature that took me an age to track down.
>
>If you have a bunch of nested movieclips and any of them (down the
> chain) share a name, such as:
>
> _level0.nav1.nav.mod0.inst0.clip1.inst0.inst0.inst1.res17
>
> (I know, not terribly readable, but autogenerated by our
> clip-creation code. Note all the 'inst0's)
>
> then loadMovie() (and by extension, MovieClipLoader) will
> silently fail. MovieClipLoader will trigger no listener
> events at all, not even an error. And whereas loadMovie()
> will trace a semi-useful error (that it can't find the clip),
> MovieClipLoader won't trace anything at all.
>
> Changing it to:
> _level0.nav1.nav.mod0.inst0.clip1.inst1.inst2.inst1.res17
>
> (i.e. getting rid of all the 'inst0' duplicates)
>
> solves the problem.
>
> Flash itself can cope quite happily with clips named the same
> thing in a clip chain. It only falls over when loading into
> one of the children.
>
> If anyone wants to share my pain, the full rundown is here:
>
> http://wildwinter.blogspot.com/2007/02/irritating-bugs-no-1679
> a-loadmovie-and.html
>
> Cheers,
> Ian
>
> On 2/26/07, Ian Thomas <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > Has anyone ever come across a situation where
> MovieClipLoader just
> > refuses to fire any events whatsoever?
> >
> > The situation:
> >
> > - Flash 8, running in IDE or as local projector (on Win XP)
> > - A whole pile of successful MovieClipLoader calls have been made
> > (probably 50 or so by this stage), _including_ the very same bit of
> > code which later fails.
> > - Nothing else is loading/streaming at the same time.
> > - Three calls (in rapid succession) are made to a function
> which does
> > the following:
> >
> > - creates a new MovieClipLoader
> > - creates a new MovieClip (at a new depth)
> > - assigns a new listener for the MovieClipLoader
> > - starts loading a .swf into the clip.
> >
> > The first two times, it works perfectly. The third time, no
> events are
> > fired and the clip apparently doesn't load.
> >
> > On each occasion, we wait for the previous load to successfully
> > complete first (onLoadInit) before we call the function again.
> >
> > Completely repeatable each time.
> >
> > The loaded .swf isn't doing anything odd (it contains no
> code whatsoever).
> >
> > *sigh*
> >
> > Any ideas? Or robust alternatives to MovieClipLoader? (Bokel's
> > LoaderClass is a little heavyweight for what I want to do,
> but I might
> > take a look at it).
> >
> > Ian
> >
> ___
> 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
>
___
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
___
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