1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| function imager(stFile) {
if (blLoading) {
return;
}
blLoading = true;
var charge = new ChargeClip('http://complet1.free.fr/_divers/forum/xxxx/' + stFile + '?id=' + aleatoire(1, 1000), this.mcImage);
charge.actionFin = function() {
nettoyerImage();
traiterImage();
blLoading = false;
};
charge.actionErreur = function() {
txTitre.text = "Erreur : impossible de charger l'image";
};
if (this.mcMoteur == undefined) {
this.createEmptyMovieClip('mcMoteur', 2000);
this.mcMoteur._x = 275;
this.mcMoteur._y = 240;
}
charge.lancer(400, 10, this.mcMoteur, true);
} |
Partager