# Extended the sprite class

**URL:** <https://forum.kirupa.com/t/extended-the-sprite-class/234281>\
**Category:** Uncategorized\
**Created:** [August 1, 2007, 1:37am UTC](https://forum.kirupa.com/t/extended-the-sprite-class/234281 "2007-08-01T01:37:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajcates](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ajcates/32/2435_2.png) [@ajcates](https://forum.kirupa.com/u/ajcates)\
**Post date:** [August 1, 2007, 1:37am UTC](https://forum.kirupa.com/t/extended-the-sprite-class/234281/1 "2007-08-01T01:37:12Z")

</div>

alright so i want to extend the sprite class, but i don’t want the extended class to have a diffent name, so i can go

var myBob:sprite = new Sprite();  
myBob.functionIadded();

i know you can do this with prototypes, but i don’t think you can use prototypes in classes. if you can use prototypes in classes could you tell me, or tell me another work around.
