Hi,

A read-only property means that you can read it but not set it.

You cannot do;

mySprite.graphics = myOtherSprite.graphics

or

mySprite.graphics = new Graphics();

It means that you a 'calling' methods and properties and not setting the
actual property explicitly.

Peace, Mike

On 4/25/07, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:

  The documentation shows this property as read-only, but then the
example in the "Drawing vector graphics" section shows this code:

var mySprite:Sprite = new Sprite();
mySprite.graphics.beginFill(0xFFCC00);
mySprite.graphics.drawCircle(30, 30, 30);

So... which is it?

Thanks,
Ben




--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to