I dont have any theories on the static issue, but I would suggest
getting rid of "this". "this" is often percieved as a generic object
as opposed to a typed object. If you just say moveTo(0,0) I bet you
won't get at least that part of the error.
Hank
On 10/20/05, Shaw, Matt <[EMAIL PROTECTED]> wrote:
>
> 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
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders