# Code hinting...?

**URL:** <https://forum.kirupa.com/t/code-hinting/325394>\
**Category:** Uncategorized\
**Created:** [October 13, 2011, 1:47am UTC](https://forum.kirupa.com/t/code-hinting/325394 "2011-10-13T01:47:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aeson](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@aeson](https://forum.kirupa.com/u/aeson)\
**Post date:** [October 13, 2011, 1:47am UTC](https://forum.kirupa.com/t/code-hinting/325394/1 "2011-10-13T01:47:15Z")

</div>

```auto
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.
