# Graphics class

**URL:** <https://forum.kirupa.com/t/graphics-class/324471>\
**Category:** flash\
**Created:** [August 22, 2011, 9:06pm UTC](https://forum.kirupa.com/t/graphics-class/324471 "2011-08-22T21:06:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbo](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@tbo](https://forum.kirupa.com/u/tbo)\
**Post date:** [August 22, 2011, 9:06pm UTC](https://forum.kirupa.com/t/graphics-class/324471/1 "2011-08-22T21:06:54Z")

</div>

[manually drawing on the stage first in flash IDE]

```auto

var gr:Graphics= (this.getChildAt(0) as Shape).graphics;
trace(gr); //[object Graphics]

```

I can reference the graphics object i had drawn, but if i attempt to do a[FONT=arial][/FONT]nything with it, it disappears.

[FONT=arial black][FONT=arial]I have asked this before… but is there a way to continue editing a shape like this? or is it closed in some way?

[/FONT]  
[URL=“[http://help.adobe.com/en\_US/FlashPlatform/reference/actionscript/3/flash/display/Graphics.html?filter\_flash=cs5&filter\_flashplayer=10.2&filter\_air=2.6#beginBitmapFill()"][/FONT][URL="http://help.adobe.com/en\_US/FlashPlatform/reference/actionscript/3/flash/display/Graphics.html?filter\_flash=cs5&filter\_flashplayer=10.2&filter\_air=2.6#beginBitmapFill()](http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Graphics.html?filter_flash=cs5&filter_flashplayer=10.2&filter_air=2.6#beginBitmapFill%28%29%22%5D%5B/FONT%5D%5BURL=%22http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Graphics.html?filter_flash=cs5&filter_flashplayer=10.2&filter_air=2.6#beginBitmapFill%28%29)”]
