# Directory problem

**URL:** <https://forum.kirupa.com/t/directory-problem/307664>\
**Category:** Uncategorized\
**Created:** [April 7, 2010, 9:20pm UTC](https://forum.kirupa.com/t/directory-problem/307664 "2010-04-07T21:20:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OMG](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OMG](https://forum.kirupa.com/u/OMG)\
**Post date:** [April 7, 2010, 9:20pm UTC](https://forum.kirupa.com/t/directory-problem/307664/1 "2010-04-07T21:20:38Z")

</div>

hi, here’s the folders structure of my files:  
I have a folder named OMG  
inside that folder there’s another folder called sf1 and sf2  
inside sf1 folder I have a .as file named sf1.as, and also another folder called box1  
inside box1 I have box.as/.fla/.swf

so my question is:

1. if I want all my .as files inside the OMG folder to share the same package how should I name the package? because no matter what I try it returns an error saying that the package name doesnt reflect the location of the file etc…

2. how should I call the class inside sf1.as and box.as? Something like OMG.sf1.etc something?

3. how do I access the file sf1.as inside box.as?

thanks
