Change the name of the classs RectangleExtender to something else and the error will go away.
import flash.geom.Rectangle; class RectangleExt extends Rectangle { function RectangleExt() { super(); trace("RectangleExt"); } } As soon as I change RectangleExt to RectangleExtender, I get the same error (code or no code in timeline). Must be a naming conflict with some internal/hidden class. regards, Muzak ----- Original Message ----- From: "Quinten [ :: MediaMonks :: ]" <[EMAIL PROTECTED]> To: <Flashcoders@chattyfig.figleaf.com> Sent: Thursday, October 26, 2006 6:03 PM Subject: [Flashcoders] There is no method with the name 'super' >I have 2 classes: 'Tester' wich extends a linked movie on the stage. And >RectangleExtender wich is called in Tester > > class Tester extends MovieClip > { > public function Tester() > { > var objRectangleExtender:RectangleExtender = new RectangleExtender(); > } > } > > and: > > import flash.geom.Rectangle; > > class RectangleExtender extends Rectangle > { > public function RectangleExtender() > { > super(); > } > } > > Everything works fine until i put actionscript on a frame. (just a simple > stop(); on the first frame) > > then i get this error: > > **Error** H:\temp\SuperFoutmelding\RectangleExtender.as: Line 7: There is no > method with the name 'super'. > super(); > > Total ActionScript Errors: 1 Reported Errors: 1 > > > I really have no idea why flash suddenly throws this error. does anyone has > experience with this kind of error? > > I put the source files here: > http://stuff.mediamonks.net/quinten/SuperError.rar > > just remove the stop() command in the 'mcLinker' movieclip and you will see > that it works fine. > > -- > regards, > > Quinten > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com