FLASH CS4 : Fullscreen AS3...
Par jeanphilippe, samedi 23 janvier 2010 à 19:00 :: Flash CS4 :: #337 :: rss
Exemple basique de Video en fullscreen en AS3...
Le code :
import flash.events.MouseEvent;
var fullscreen:Boolean=false;
stage.addEventListener(MouseEvent.CLICK, clickHandler);
function clickHandler(event:MouseEvent):void {
if (! fullscreen) {
fullscreen=true;
stage"displayState"="fullScreen";
} else {
fullscreen=false;
stage"displayState"="normal";
}
}
Commentaires
1. Le dimanche 24 janvier 2010 à 20:27, par Adobe Flex Tutorial
2. Le lundi 25 janvier 2010 à 15:52, par Zed-K
3. Le mardi 2 février 2010 à 07:16, par vivid
4. Le vendredi 5 février 2010 à 16:40, par morphy
5. Le samedi 1 mai 2010 à 20:31, par strateguerre
Ajouter un commentaire