Sounds good guys!

One minor update to think about before we are at the pub though. The
problem only occurs when loading a rather large SWF. If it's a small
one (20k or so) or it's on my local computer, then the MovieClip loads
up, it is an actual MovieClip and all of the properties including
_visible work just fine. I'm assuming that is because enough of it is
loaded to be a full fledged MovieClip with these case so that calling
movie._visible inside of the onLoadStart() method doesn't cause any
problems.

I'm not sure what extending MovieClip has to do with this situation,
nor am I sure that it's feasible in my case, but I would love to hear
your thoughts.

See you guys soon! Ummmm beer...

-Chris

On 8/23/06, Peter Hall <[EMAIL PROTECTED]> wrote:
Yes. Beer. See you then.

Peter


On 8/23/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> yeah, i think i agree with peter that the problem is then that you do not
> extend movieclip. we can get semantic about this tonight, but only once we
> have a beer in hand...
>
> ;)
>
> On 8/23/06, Chris Allen <[EMAIL PROTECTED]> wrote:
> >
> > On 8/23/06, Peter Hall <[EMAIL PROTECTED]> wrote:
> > > Perhaps you have a class associated with the symbol, which does not
> > > extend MovieClip?
> > >
> > Well the instance of MovieClip, or whatever it is in this case, is a
> > part of a class that doesn't extend MovieClip (MovieAsset). MovieAsset
> > implemts and Asset interface and extends an AbstractAsset class that
> > does much of the general leg work. The MovieAsset class has a method
> > getResource() that returns an Object, in this particular case it's the
> > MovieClip in question. So when accessing this MovieClip using this
> > class you must call getResource() and cast it to MovieClip:
> >
> > var movie:MovieClip = MovieClip(asset.getResource());
> > movie._visible = true;
> >
> > You can take a look at what we are working on here:
> >
> > 
http://svn1.cvsdude.com/osflash/fling/DEV_Source/classes/org/osflash/fling/util/assets/
> >
> > To replicate the problem you have to set
> > MovieAsset.setHideWhenLoaded(true); then once the loadComplete event
> > is triggered you try to set the MovieClip to visible:
> > MovieClip(asset.getResource())._visible = true;
> >
> > You should then see that it doesn't work.
> >
> > Thanks for your help!
> >
> > -Chris
> > _______________________________________________
> > [email protected]
> > 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
> _______________________________________________
> [email protected]
> 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
>
_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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