Any CS5 Flash users in here? Vol. HEEEEEEEELP!

5,249
715
Joined
Sep 24, 2008
Ok so I'm in a class that teaches us action script 3 of flash. I keep getting an error :Scene 1, Layer 'actions', Frame 1, Line 2 1067: Implicit coercion of a value of type Ellipse to an unrelated type flash.display:DisplayObject.
these are the lines of code:

var ellipse:Ellipse = new Ellipse();

addChild(ellipse);

it's the very beginning of the lesson so it's not a lot to trace back. ANY help would be appreciated!
 
Back
Top Bottom