I talked to my Flash/AS-teacher and he give me the following explaination:

Width en height of sprites and movieclips (displayobjects) get defined by
their content.
When the width is 0, you are not able to set/change them.
You could however use scaleX and scaleY to change settings.
But .scaleX = 2 when the displayobjest is 0 does not result in much more
then 0. :-)

>From the moment there is another displayobject in it, the parent object sets
to width and height of the child object.

If you then change the width of the parentobject (say 500) then you actually
scale the parent object, not the childobject.
The childobject will still be the previous setting, wich in my case was
width 200.

I hope this clarifies some more.


Regards, 
Cor

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to