# 1046 Error when compiling

**URL:** <https://forum.kirupa.com/t/1046-error-when-compiling/291268>\
**Category:** flash\
**Created:** [June 27, 2009, 12:51am UTC](https://forum.kirupa.com/t/1046-error-when-compiling/291268 "2009-06-27T00:51:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![belegar4257](https://avatars.discourse-cdn.com/v4/letter/b/bbce88/32.png) [@belegar4257](https://forum.kirupa.com/u/belegar4257)\
**Post date:** [June 27, 2009, 12:51am UTC](https://forum.kirupa.com/t/1046-error-when-compiling/291268/1 "2009-06-27T00:51:36Z")

</div>

I’m working on a project in as3 using Flash CS3. I just finished typing in a bunch of new code into a project that is in good working order. Upon compiling I received a 1046 compile error for the first import… import flash.display.MovieClip; This new code added some functions that are called by the new buttons that I made. Now it appears that the entire object is completely corrupted, as even removing all the work I did still gives me the same compiling error.

I encountered this problem before and did some nasty workarounds for a quick fix. I really really don’t want to have to do that again. Please help! Is there a problem with CS3? It seems like something is getting corrupted in their compiling process. Any ideas?
