# Stage property of Application and all its component

**URL:** <https://forum.kirupa.com/t/stage-property-of-application-and-all-its-component/208038>\
**Category:** Uncategorized\
**Created:** [November 24, 2006, 7:43am UTC](https://forum.kirupa.com/t/stage-property-of-application-and-all-its-component/208038 "2006-11-24T07:43:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cocacoka](https://avatars.discourse-cdn.com/v4/letter/c/858c86/32.png) [@cocacoka](https://forum.kirupa.com/u/cocacoka)\
**Post date:** [November 24, 2006, 7:43am UTC](https://forum.kirupa.com/t/stage-property-of-application-and-all-its-component/208038/1 "2006-11-24T07:43:06Z")

</div>

Sorry it is a little bit about flex but I have nowhere to ask. so.

```auto
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                creationComplete="initApp()">

    <mx:Script>
        <![CDATA[
            public function initApp():void
            {
                txt.text += txt.stage;
                txt.text += stage;
                //result is nullnull
            }
        ]]>
    </mx:Script>
<mx:Text id="txt"/>
</mx:Application>

```

not only the components added on Application and all kind of DisplayObject added in a UIComponent cannot access their stage property. which make me cannot use KeyboardEvent.

Please help please ☹
