astrolabbcracker
Messages postés
106
Date d'inscription
mardi 11 janvier 2005
Statut
Membre
Dernière intervention
11 juin 2012
19 mars 2006 à 23:48
ben j'ai mx !!!
et chez moi, cela marche très bien.
je propose d'essayer un truc : essayons de localiser l'endroit où le code ripe :
1 :
_root.createEmptyMovieClip("UpLine", _level0.getNextHighestDepth());
_root.UpLine.lineStyle(2, 0xF73A20, 100, true, "none", "round", "miter", 1);
_root.depart=500;
_root.arrivee=200;
_root.UpLine.moveTo(_root.depart,"200");
_root.UpLine.lineTo(_root.arrivee,"200");
-----> ce code permet-il de créer 1 ligne chez toi jzeel ?
2 :
_root.createEmptyMovieClip("UpLine", _level0.getNextHighestDepth());
_root.UpLine.lineStyle(2, 0xF73A20, 100, true, "none", "round", "miter", 1);
_root.createEmptyMovieClip("Downline", _level0.getNextHighestDepth());
_root.Downline.lineStyle(2, 0xF73A20, 100, true, "none", "round", "miter", 1);
_root.depart=500;
_root.arrivee=480;
_root.UpLine.moveTo(_root.depart,"200");
_root.UpLine.lineTo(_root.arrivee,"200");
_root.Downline.moveTo(_root.depart,"250");
_root.Downline.lineTo(_root.arrivee,"250");
-----> ce code permet-il de créer 2 petites lignes parallèles ?
3 :
var marche;
var duration = 20;
function dessinligne() {
trace("Astrolabb arrive encore a faire une fonction setinterval qui marche ");
}
marche = setInterval(this, "dessinligne", duration);
------> ce code permet-il de répéter une évidence des miliers de fois ?
4 :
_root.createEmptyMovieClip("UpLine", _level0.getNextHighestDepth());
_root.UpLine.lineStyle(2, 0xF73A20, 100, true, "none", "round", "miter", 1);
_root.createEmptyMovieClip("Downline", _level0.getNextHighestDepth());
_root.Downline.lineStyle(2, 0xF73A20, 100, true, "none", "round", "miter", 1);
_root.depart=500;
_root.arrivee=480;
_root.arrivee_fin=10;
var marche;
var duration = 20;
function dessinligne() {
if(_root.arrivee >= _root.arrivee_fin) {
_root.arrivee-=5;
_root.UpLine.moveTo(_root.depart,"200");
_root.UpLine.lineTo(_root.arrivee,"200");
_root.Downline.moveTo(_root.depart,"250");
_root.Downline.lineTo(_root.arrivee,"250");
}
else{
clearInterval(marche);
}
}
marche = setInterval(this, "dessinligne", duration);
------> là c le top et on peut fermer la rubrique