# Extending, in the more general sense

**URL:** https://forum.kirupa.com/t/extending-in-the-more-general-sense/254459
**Category:** flash
**Created:** [March 12, 2008, 11:41am UTC](https://forum.kirupa.com/t/extending-in-the-more-general-sense/254459 "2008-03-12T11:41:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![icio](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/icio/32/484_2.png) [@icio](https://forum.kirupa.com/u/icio)
#### Post date: [March 12, 2008, 11:41am UTC](https://forum.kirupa.com/t/extending-in-the-more-general-sense/254459/1 "2008-03-12T11:41:33Z")

</div>

Is there any possible method of adding functions to sealed classes?

I wrote a small function for drawing segments of circles (see here: [http://kirupa.com/forum/showthread.php?p=2297429#post2297429](http://kirupa.com/forum/showthread.php?p=2297429#post2297429)) and was wanting to add it to the `graphics` Graphics object of display objects.

I wasn’t able to achieve this by prototyping methods because the Graphics class isn’t dynamic.

Is there any method of doing this?
