Meinte, Bedankt, ik ben eruit.
Groeten Cor -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meinte van't Kruis Sent: zaterdag 19 juli 2008 1:19 To: Flash Coders List Subject: Re: [Flashcoders] AS3 - MovieClip in MovieClip not showing > MovieClip.width and MovieClip.height are not listed as MovieClip properties > in the documentation. Maybe you should switch to Sprites. This is not true offcourse(would be a lovely adobe joke tho, 'ok guys, in as3 we have no width or height on MovieClip, sorry and good luck'). Ummmmmmm ok, I did some small tests. The problem lies in the fact that you're resetting its width and height before adding anything to it, if you turn that around, it does show stuff. I think the problem lies with the fact that when a movieclip is empty, it's dimensions are zero. WHen you then then set its width and height properties while it is empty, it just ignores that stuff, but somehow keeps it zero after you add stuff. so mc=new Movieclip; mc.width=500; mc.height=600;mc.addCHild(bigassMovieClipWIthStuffInIt) will actually get you a big assMovieCLip within mc with width and height zero.. (dont ask me why, its getting late :)) On Fri, Jul 18, 2008 at 10:16 PM, Keith Reinfeld <[EMAIL PROTECTED]> wrote: > > Just for the record: > > Q: Sprite is the same as a MovieClip but without the timeline, > > isn't it? > > MovieClip inherits from Sprite. > > Beyond that you will have to ask someone who can make sense of CS3's > convoluted documentation. > > Regards, > > -Keith > http://keithreinfeld.home.comcast.net > > > > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- M.A. van't Kruis http://www.malatze.nl/ _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

