Probleme duplicatemovieclip

Résolu
nightmareofworld Messages postés 60 Date d'inscription mardi 25 janvier 2005 Statut Membre Dernière intervention 23 août 2006 - 20 mai 2006 à 15:21
nightmareofworld Messages postés 60 Date d'inscription mardi 25 janvier 2005 Statut Membre Dernière intervention 23 août 2006 - 20 mai 2006 à 17:52
bonjour
j'ai un problem avec le script suivant
onClipEvent (load) {
    _root.cintre1._visible = false;
    _root.cheblanc0._visible = false;
    _root.chebleu0._visible = false;
    _root.cherouge0._visible = false;
    _root.chevert0._visible = false;
    _root.cheorange0._visible = false;
    _root.cheviolette0._visible = false;
    if (_root.i<_root.numcintre) {
        _root.habits = ["cheblanc0", "chebleu0", "cheorange0","cherouge0","chevert0","cheviolette0", "cintre1"];
        _root.n = _root.myArray[_root.i];
        _root.habit = _root.habits[_root.n];
        duplicateMovieClip(this[_root.habit], "che"+numero, 1);
        this["che"+numero]._visible = true;
        removeMovieClip("che"+numero);
        numero++;
        _root.i++;
    }

mon probleme et que le clip duplique n'apparait pas.

1 réponse

nightmareofworld Messages postés 60 Date d'inscription mardi 25 janvier 2005 Statut Membre Dernière intervention 23 août 2006
20 mai 2006 à 17:52
j'ai trouver le probleme c'est les this[...] a la place fallait mettre _root[...]
3
Rejoignez-nous