//en gros tu commence par récupérer tes valeurs x et y de ton movieclip (text insérer dans un movieclip) x = monClip._x y = monClip._y //ensuite tu cré 2 variable random a et b a = random(5); //5 ce sera le nbr de pixels sur lequel ça va osciller b = random(5); //tu ajoute ou soustrait à ta position a = x + a; b = x + b; //et tu move ton clip monClip.moveTo (a, b);
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionx = textclip._x y = textclip._y
a = random(10); b = random(10); a = x + a; b = x + b; textclip._x=a; textclip._y=b;
gotoAndPlay(2);