We're still working on the actual text of the error messages, and yes, that one could certainly be a little less cryptic. Have you seen the "Error and Warning Codes" appendix in the language reference? It includes descriptions for some of the more common error codes:
http://livedocs.macromedia.com/labs/1/flex/langref/errorCodes.html As for your particular issue, one thing to keep in mind is that Sprite doesn't inherit from flash.display.Graphics, so your Test object doesn't have a moveTo() method. What your Test object does have is a graphics property that contains a Graphics object. So change: this.moveTo(0,0); to graphics.moveTo(0,0); And it should compile. For example, the following code draws a red line: package { import flash.display.Sprite; public class MoveToTest extends Sprite { public function MoveToTest() { graphics.lineStyle(1,0xFF0000,1); graphics.moveTo(100,100); graphics.lineTo(200,200); } } } Thanks, Francis > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Shaw, Matt > Sent: Thursday, October 20, 2005 5:36 PM > To: Flashcoders mailing list > Subject: [Flashcoders] AS3 Hi-Jinks : Call to a possibly undefined method > > > My Lord, I'm having a splendid time when AS3 - but some of theses errors > are heinous... > > "Call to a possibly undefined method moveTo through a reference with > static type Test" > > So, I've got this class Test, which extends Sprite and is attempting to > call this.moveTo(0,0) > > I'm know that Sprite has a moveTo method - inherited from > flash.display.Graphics. So, I'm not seeing how this is "possibly > undefined". And "through a reference with static type Test"? There is > nothing static about my Test class. > > Any idears? > > package { > import flash.display.Sprite; > > public class Test extends Sprite { > > public function Test() { > this.moveTo(0,0); > } > } > } > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders