1
votes

Is it possible to change the meta title text that is display in an Adobe Air desktop app header? (Where by default is the app name displayed)

Thanks. Uli

2

2 Answers

3
votes

Sure:

protected function initWindowName(event:Event):void 
{
    stage.nativeWindow.title = "new name";
}

And listen to an event such as:

addEventListener(Event.ACTIVATE, initWindowName);
0
votes

If you want to change it at runtime follow davivid's answer. This is useful if you want to update the header to display the current file name the user is working with or something like that.

If you want to set the title once and not change it, or set a default, change the title tag in the application descriptor xml.