Perhaps you have a class associated with the symbol, which does not
extend MovieClip?

Peter


On 8/23/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
thats quite a hack. a normal cast then returns null i assume?

On 8/23/06, John Grden <[EMAIL PROTECTED]> wrote:
>
> this is the only thing that seems to bring it back to life:
>
> if(targetMC instanceof MovieClip == false) targetMC.__proto__ = new
> MovieClip();
>
> before calling MCL.loadClip(), the target is a bonified MovieClip, but as
> soon as progress starts, it's not anymore.
>
> On 8/23/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> >
> > what happens if you cast it as a movieclip?
> >
> > On 8/23/06, Chris Allen <[EMAIL PROTECTED]> wrote:
> > >
> > > On 6/7/06, Jason Lutes <[EMAIL PROTECTED]> wrote:
> > > > Can anyone suggest why a condition would be false for a test on a
> > movie
> > > > clip using instanceof MovieClip?
> > > >
> > > > I have a function that includes the line:
> > > >
> > > > if (graphicClip.highlighting instanceof MovieClip)
> > > > graphicClip.highlighting._visible = false;
> > > >
> > > > If I precede the line with trace(typeof graphicClip.highlighting) I
> > get
> > > > "movieclip" in the Output panel. Nevertheless, the instanceof
> > condition
> > > > refuses to report correctly.
> > > >
> > > I bet if you do trace("type: " + typeof(graphicClip.highlighting)); it
> > > will trace "movieclip" (lowercase) instead of "MovieClip" as it
> > > normally would.
> > >
> > > John Grden was just asking if you ever figured this out because we are
> > > having a very similar issue, in fact it might be the same issue. Our
> > > instance doesn't respond to the _visible property any more when
> > > retrieving a reference from our class. We are loading it from an
> > > external SWF using MovieClipLoader. I have yet to be able to recreate
> > > this issue with an FLA and the IDE. It only appears so far when using
> > > our loading class and compiling with MTASC.
> > >
> > > Anyway, any insight that anyone has into this would be greatly
> > > appreciated.
> > >
> > > Thanks,
> > > Chris
> > > _______________________________________________
> > > 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
> > >
> >
> >
> >
> > --
> > j:pn
> > http://www.lennel.org
> > _______________________________________________
> > 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
> >
>
>
>
> --
> [  JPG  ]
> _______________________________________________
> 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
>



--
j:pn
http://www.lennel.org
_______________________________________________
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

Reply via email to