Background Fullscreen transparent
Bonjour, tout est dans le titre :D
J'ai une application plutôt simple, avec un bouton qui exécute la fonction suivant au clic :
Code:
1 2 3 4 5 6 7 8
| public function fullScreen():void
{
if ( stage.displayState != StageDisplayState.FULL_SCREEN )
{
stage.displayState = StageDisplayState.FULL_SCREEN;
stage.align = ""; // Aligne center - center, oui c'est bizarre mais ça marche :p
}
} |
après avoir cliqué, l'application apparait bien au centre de l'écran mais a un fond blanc.. alors que j'aimerai bien avoir un fond transparent, avec un alpha 0.5 par ex.
j'ai pas mal cherché, mais j'ai rien trouvé de correct.
Ps : mon application a déjà le wmode a transparent, et j'ai testé en skinant l'application avec des background et backgroundalpha, mais rien ne fonctionne :'(