Setting the title on a WindowedApplication container in Adobe AIR
The following example shows how you can set the title on an Adobe AIR WindowedApplication container by setting the title property.
Full code after the jump.
<?xml version="1.0" encoding="utf-8"?> <!-- http://airexamples.com/2008/12/25/setting-the-title-on-a-windowedapplication-container-in-adobe-air/ --> <mx:WindowedApplication name="WindowedApplication_title_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white" title="{textInput.text}"> <mx:ApplicationControlBar dock="true"> <mx:Form styleName="plain"> <mx:FormItem label="title:"> <mx:TextInput id="textInput" /> </mx:FormItem> </mx:Form> </mx:ApplicationControlBar> </mx:WindowedApplication>
No comments yet