# Prototype within class

**URL:** https://forum.kirupa.com/t/prototype-within-class/214102
**Category:** Uncategorized
**Created:** [January 25, 2007, 4:06pm UTC](https://forum.kirupa.com/t/prototype-within-class/214102 "2007-01-25T16:06:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![octopus](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/octopus/32/3176_2.png) [@octopus](https://forum.kirupa.com/u/octopus)
#### Post date: [January 25, 2007, 4:06pm UTC](https://forum.kirupa.com/t/prototype-within-class/214102/1 "2007-01-25T16:06:35Z")

</div>

I have a prototype for searching arrays and array elements for a specified string. If I use the #include directive within the .fla file I can access this prototype no problem. But, I need to use the prototype within a custom class file. How can I accomplish this? I attempted to use the #include directive in the class file, but the compiler throws an error. Any help is appreciated.
