# Errors whiole creating object

**URL:** <https://forum.kirupa.com/t/errors-whiole-creating-object/312718>\
**Category:** flash\
**Created:** [August 11, 2010, 9:50am UTC](https://forum.kirupa.com/t/errors-whiole-creating-object/312718 "2010-08-11T09:50:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitinmukesh](https://avatars.discourse-cdn.com/v4/letter/n/7feea3/32.png) [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Post date:** [August 11, 2010, 9:50am UTC](https://forum.kirupa.com/t/errors-whiole-creating-object/312718/1 "2010-08-11T09:50:51Z")

</div>

Hi,

I have created a file in which I have a movieclip which links to AS file.

When I create the instance on timeline it throws the below error.

> 1046: Type was not found or was not a compile-time constant: Player.  
> 1120: Access of undefined property com.

Any help is appreciated.

P.S. I have attached source.

[EDIT]  
However if I remove package information (from library MovieClip instance and Player.as file) and bring the file outside of the package folder it works fine
