add this line under your import statements (somewhere on the top of the
file):

*import flash.event.*;*

if you get another error while compiling, post it here

Z.

On Mon, Apr 18, 2011 at 11:18 PM, GizmoBradwell <[email protected]> wrote:

> Hi,
>
> Hope i'm posting in the right place for a noob.
>
> I'm following the 3d in flash book:
>
> i'm on the starting the engine section, so i've created MyFirstApp.as
> as a document class and copied the code, but when i publish i get a
> compile error on Line 20: 1046 Type was not found or was not compile-
> time constant: Event.
>
> This is the code:
>
> private function onEnterFrame(ev : Event) : void
>
> Thanks for the help :)

Reply via email to