The following example shows how you can set the status message on an AIR WindowedApplication by setting the status property.
Full code after the jump.
<?xml version="1.0" encoding="utf-8"?> <!-- http://airexamples.com/2008/12/10/displaying-a-status-message-on-a-windowedapplication-in-adobe-air/ --> <mx:WindowedApplication name="WindowedApplication_status_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white" status="{textInput.text}"> <mx:ApplicationControlBar dock="true"> <mx:Form styleName="plain"> <mx:FormItem label="status:"> <mx:TextInput id="textInput" /> </mx:FormItem> </mx:Form> </mx:ApplicationControlBar> </mx:WindowedApplication>
{ 1 comment… read it below or add one }
I tried this and got the following error….
Severity and Description Path Resource Location Creation Time Id
Type was not found or was not a compile-time constant: statusBar. [Generated code (use -keep to save): Path: statusBar-generated.as, Line: 168, Column: 14] statusBar Unknown 1231476368647 9838
something wrong at my end?