As3 Error 1023 Incompatible Override
using your existing account on the new forums, check out this thread. Register Help Remember Me? Forum Today's Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links View Forum Leaders What's New? Advanced Search Forum Flash ActionScript 3 Error #1023: Incompatible override. Results 1 to 8 of 8 Thread: Error #1023: Incompatible override. Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode May 25th, 2007,08:34 PM #1 skyp View Profile View Forum Posts 89 posts undefined Error #1023: Incompatible override. override protected function draw(event:Event = null):void { ReferenceError: Error #1065: Variable ClockTest is not defined. the code is from <
Duplicate Function/Incompatible Override errors If this is your first visit, be sure to check out the FAQ by clicking the link http://board.flashkit.com/board/showthread.php?804356-Duplicate-Function-Incompatible-Override-errors above. You may have to register before you can post: click the http://flash.bigresource.com/ActionScript-3-0-Duplicate-Function-Incompatible-Override-errors--NwpkzxzeU.html register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 7 of 7 Thread: Duplicate Function/Incompatible Override errors Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… as3 error Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 10-20-2009,06:47 AM #1 King of Showbiz View Profile View Forum Posts Junior Member Join Date Aug 2007 Posts 13 Duplicate Function/Incompatible Override errors Hey All, This is a noob question, but here it goes: I'm trying to create a simple game where you can click on shapes as3 error 1023 in a toolbar and then drop them on the screen. There are three shapes, so I want the user to be able to select different shapes and such. I've written the code thus far like this: Code: stop(); var cursor:MovieClip; var shape:MovieClip; var circ:MovieClip; var pent:MovieClip; var rect:MovieClip; btnCirc.addEventListener(MouseEvent.CLICK, circle); btnRect.addEventListener(MouseEvent.CLICK, rect); btnPent.addEventListener(MouseEvent.CLICK, pent); function circle(Event:MouseEvent):void { cursor = new mcCirc; shape = new mcCirc; addChild(cursor); cursor.enabled = false; Mouse.hide(); stage.addEventListener(MouseEvent.MOUSE_MOVE, dragcursor); } function rect(Event:MouseEvent):void { cursor = new mcRect; shape = new mcRect; addChild(cursor); cursor.enabled = false; Mouse.hide(); stage.addEventListener(MouseEvent.MOUSE_MOVE, dragcursor); } function pent(Event:MouseEvent):void { cursor = new mcPent; shape = new mcPent; addChild(cursor); cursor.enabled = false; Mouse.hide(); stage.addEventListener(MouseEvent.MOUSE_MOVE, dragcursor); } function dragcursor(Event:MouseEvent):void { cursor.x = this.mouseX; cursor.y = this.mouseY; stage.addEventListener(MouseEvent.CLICK, dropShape); } function dropShape(Event:MouseEvent):void { shape = new shape; addChild(shape); shape.x = this.mouseX; shape.y = this.mouseY; } I'm getting a duplicate function error and incompatible override error for both the "rect" and "pent" functions, but the code works fine if I eliminate these two functions and just include th