Question

Existe-t-il un moyen de créer une application Adobe AIR? adapter l'écran (maximiser) par lui-même quand il est lancé?

Était-ce utile?

La solution

De Abhilash:

Appelez simplement le maxim (); fonction dans la création de l'application Fonction complète.

Source: / thread / afd5a97aea768d52 / 59aabcf6a74171b9 # 59aabcf6a74171b9

Autres conseils

Ajouter un événement creationComplete à votre application

   <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
                           xmlns:mx="library://ns.adobe.com/flex/mx" 
                           width="950" height="500"
                           showStatusBar="false"  
    creationComplete="winApp_creationCompleteHandler(event)">

Ajoutez ensuite le maxim (); fonction à l'événement de création complète.

protected function winApp_creationCompleteHandler(event:FlexEvent):void
{

maximize();

}
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top