I have a class that extends Sprite. When the x value of the Class is changed
I want to know so I can change another value.

So I tried

override public function set x(n:Number)
{
   super.x=n;
   //added functionality would happen here
}
but I get "Incompatible override"

So I could build a setX method but this wouldn't prevent Class.x from being
directly changed

public function setX(n:Number)
{
    x=n;
    //added functionality would happen here
}

Any suggestions?
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to