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.





    
        
            
                
            
        
    


Tagged with:
 

3 Responses to Displaying a status message on a WindowedApplication in Adobe AIR

  1. Dave says:

    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?

  2. cengler says:

    How can i chage the status text inside a component…

    There is a static reference to the application,
    like Application.application in flex…

    I Try NativeApplication.nativeApplication.status = “foo”, but does not work …

    Any ideas?

    Tanks

  3. topher says:

    The status text property is handled differently in Flex 4 IIRC

    Try:

    statusText.text=”foo”;

    This always works for me; or data binding the status property to a [Bindable] private String variable.

Leave a Reply

Your email address will not be published.