Access properties of getChildAt

I was using Flash 9 AS3 Preview and i was using getChildAt to access the properties of an Object, but im testing it on Flex Builder 2, and it doesnt work. You can see the code on the example that follows. What can i do? Why isnt it tracing the “t” property when i use the getChildAt? Is there something else i can use?


package {
    import flash.display.Sprite;

    public class test extends Sprite
    {
        public var t:int
                
        public function test()
        {
            t = 7
            fire()
        }
        
        private function fire():void
        {
            trace(this.t) // traces -> 7
            trace(stage.getChildAt(0)) // traces -> [object test]
            //trace(stage.getChildAt(0).t) // Undefined property t
        }
    }
}