# Getting all shapes in a movie

**URL:** <https://forum.kirupa.com/t/getting-all-shapes-in-a-movie/232143>\
**Category:** flash\
**Created:** [July 11, 2007, 2:53pm UTC](https://forum.kirupa.com/t/getting-all-shapes-in-a-movie/232143 "2007-07-11T14:53:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdistefano](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@sdistefano](https://forum.kirupa.com/u/sdistefano)\
**Post date:** [July 11, 2007, 2:53pm UTC](https://forum.kirupa.com/t/getting-all-shapes-in-a-movie/232143/1 "2007-07-11T14:53:01Z")

</div>

Hi all!  
I’m developing a drawing application in Flash CS3, and would like to implement the “Shape color fill” functionality.  
I’m doing all the drawing trough the Graphics() class. What I need to do now is to loop trough the shapes the user has generated and fill with the given color until a line is found. How do I reach these objects? I understand in previous versions this was done with fl.getDocumentDOM

regards,
