cs_Zedbar1
Messages postés65Date d'inscriptionjeudi 22 mars 2007StatutMembreDernière intervention 2 octobre 2010
-
10 juil. 2009 à 22:26
cs_Zedbar1
Messages postés65Date d'inscriptionjeudi 22 mars 2007StatutMembreDernière intervention 2 octobre 2010
-
11 juil. 2009 à 01:41
Salut les ptits loups :)
Je cherche à faire passer deux clip du premier à l'arrière plan alternativement mais je trouve pas la solution; je me doute que ca devrait fonctionner avec swapDepths mais j'y arrive pas.
Les clips ne sont pas chargés, ils sont sur la scène et sur chaque clip transformé en bouton, il y a entre autres :
on (release) {
var twClip:mx.transitions.Tween = new mx.transitions.Tween(face, "_height", mx.transitions.easing.Strong.easeOut, 280, 130, 30);
var twClip:mx.transitions.Tween = new mx.transitions.Tween(face, "_width", mx.transitions.easing.Strong.easeOut, 360, 170, 30);
var twClip:mx.transitions.Tween = new mx.transitions.Tween(dos, "_alpha", mx.transitions.easing.Strong.easeOut, 100, 0, 50);
var twClip:mx.transitions.Tween = new mx.transitions.Tween(face, "_x", mx.transitions.easing.Strong.easeOut, 759, 759, 30);
var twClip:mx.transitions.Tween = new mx.transitions.Tween(face, "_y", mx.transitions.easing.Strong.easeOut, 126, 126, 30);
...
comme vous pouvez le voir, le 2ème clip passe à 0 en alpha car j'ai rien trouvé d'autres !!!, alors si vous pouvez me préciser la fonction pour faire passer "dos" au second plan ! ( ou "face" au premier je suis pas difficile )