# Package Error

**URL:** <https://forum.kirupa.com/t/package-error/314578>\
**Category:** flash\
**Created:** [October 2, 2010, 8:10pm UTC](https://forum.kirupa.com/t/package-error/314578 "2010-10-02T20:10:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tinale](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@tinale](https://forum.kirupa.com/u/tinale)\
**Post date:** [October 2, 2010, 8:10pm UTC](https://forum.kirupa.com/t/package-error/314578/1 "2010-10-02T20:10:19Z")

</div>

I try to learn Package in AS 3.0. I copy and paste the following code into .as file  
[[COLOR=#0000ff]http://www.kirupa.com/developer/flashcs3/movieclips\_classes\_AS3\_pg2.htm[/COLOR]](http://www.kirupa.com/developer/flashcs3/movieclips_classes_AS3_pg2.htm)

When I test it, it doesn’t work. It has the message "Javascript Errors. Missing “;’ before the statement”. I looked into the code, I didn’t see any missing “;”. Anyone has run this code successfully? Please show me how to fix it. Thanks in advance.
