The following example shows how you can display a custom title bar icon in a WindowedApplication container in Adobe AIR by setting the titleIcon property. <?xml version="1.0" encoding="utf-8"?> <!-- http://airexamples.com/2010/03/13/displaying-a-custom-title-bar-icon-in-a-windowedapplication-container-in-adobe-air/ --> <mx:WindowedApplication name="WindowedApplication_titleIcon_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" titleIcon="@Embed('assets/accept.png')"> </mx:WindowedApplication> And edit the application’s XML file and edit the following lines: <!-- The type of system […]
↧