# Extending the core classes in AS3

**URL:** <https://forum.kirupa.com/t/extending-the-core-classes-in-as3/222387>\
**Category:** flash\
**Created:** [April 12, 2007, 10:40pm UTC](https://forum.kirupa.com/t/extending-the-core-classes-in-as3/222387 "2007-04-12T22:40:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sammo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/sammo/32/779_2.png) [@Sammo](https://forum.kirupa.com/u/Sammo)\
**Post date:** [April 12, 2007, 10:40pm UTC](https://forum.kirupa.com/t/extending-the-core-classes-in-as3/222387/1 "2007-04-12T22:40:33Z")

</div>

Is it possible? If so, what’s the preferred way?

I’m seeing lots of ArrayUtil and StringUtil AS3 classes, but I don’t like using them as it defeats the purpose of an object (StringUtil.trim(str) instead of str.trim()).
