Bonjour,
j'ai récupéré en urgence un fla que je dois adapter :
petit problème, l'attachMovie ne se fait aucunement.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth()); var mcLoader:MovieClipLoader = new MovieClipLoader(); var loadListener:Object = new Object(); loadListener.onLoadComplete = function() { trace("CHARGEMENT ok"); container.attachMovie("v_champ", "v_champ1", this.getNextHighestDepth(), {_x:170, _y:260, _alpha:100}); //case1(); }; mcLoader.addListener(loadListener); mcLoader.loadClip(chemin+"Exploitation_niv"+niveau+"j.gif", container);
D'où me gourges ?
merci par avance.
Partager