In a previous example, “Preventing the user from minimizing an application in Adobe AIR”, we saw how you can disable the minimize button on a WindowedApplication container by editing the application’s XML file and set the <minimizable> node to false.

The following example shows how you can disable the maximize button on a WindowedApplication container by editing the application’s XML file and set the <maximizable> node to false. You can determine if the WindowedApplication is maximizable by using the read-only maximizable property.

Full code after the jump.





    


And edit the application’s XML file and edit the following lines:


false
Tagged with:
 

3 Responses to Preventing the user from maximizing an application in Adobe AIR

  1. bjorn says:

    AFAIK, this does not remove the icon…

  2. topher says:

    That’s what the XML tag is for.

Leave a Reply

Your email address will not be published.