# Package Question

**URL:** <https://forum.kirupa.com/t/package-question/269164>\
**Category:** flash\
**Created:** [August 23, 2008, 5:56pm UTC](https://forum.kirupa.com/t/package-question/269164 "2008-08-23T17:56:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![endemoniada](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Post date:** [August 23, 2008, 5:56pm UTC](https://forum.kirupa.com/t/package-question/269164/1 "2008-08-23T17:56:53Z")

</div>

Hi guys,

I want to have two classes in a single .as file, one of the classes will only be visible to the main class in the file.

class QueItem{  
…  
}

class Que{  
//only this class will use QueItem, no other classes will  
}

Can I do that ? I tried a few syntaxes but it never works.

Thanks.

---

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [August 23, 2008, 8:49pm UTC](https://forum.kirupa.com/t/package-question/269164/2 "2008-08-23T20:49:06Z")

</div>

You can, but the other class has to be outside the package {} block
