# Custom Import Package Problems

**URL:** <https://forum.kirupa.com/t/custom-import-package-problems/322670>\
**Category:** flash\
**Created:** [May 29, 2011, 8:26pm UTC](https://forum.kirupa.com/t/custom-import-package-problems/322670 "2011-05-29T20:26:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evolutionxbox](https://avatars.discourse-cdn.com/v4/letter/e/ec9cab/32.png) [@evolutionxbox](https://forum.kirupa.com/u/evolutionxbox)\
**Post date:** [May 29, 2011, 8:26pm UTC](https://forum.kirupa.com/t/custom-import-package-problems/322670/1 "2011-05-29T20:26:46Z")

</div>

I have a custom package:

```auto
package ma601jc {
	
	public class stringUtils {

		public function stringUtils() {
		}
		
		public function testFunction(input:String):String
		{
			return input;
			
		 }
	}
}

```

I import it into a different class in the same folder:

```auto
import ma601jc.stringUtils;

```

But when I use the testFunction() I get this error:  
…anothercalss.as, Line ## 1120: Access of undefined property stringUtils.

To use the function I type:

```auto
trace(stringUtils.testFunction('Hello World'));

```
