Giving title to your Flex App’s.

June 17, 2008

Usually we give title to our page from the Title Tag in the Html file but there is another way to do this from the Flex App.

There’s a property called pageTitle in the Application Tag, and there you can mention it. Then it appears on Browser Title Bar as required. Cool isn’t it !

Code Example :

<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”absolute”

creationComplete=”init()” pageTitle=”Kumar Gandhi Page !”>

</mx:Application>

Enjoy the code !