Code hinting...?

package {
    import flash.display.Sprite;
    
    public class Rect extends Sprite {
        private var rect:Sprite;
        
        public function Rect(x:Number, y:Number):void {
            rect = new Sprite();
            
        }
}
}

I have a custom class and inside its constructor, I need “x” and “y” arguments passed on. Now when I call the class and create and instance of it, flash should pop up “the code hinting”…(but it doesn’t), or am I missing something???

Thanks in advance to anyone who is willing to lend a hand.