Problème load

funlife Messages postés 11 Date d'inscription vendredi 23 novembre 2007 Statut Membre Dernière intervention 13 juin 2008 - 25 nov. 2007 à 22:49
cs_goldenboy68 Messages postés 1596 Date d'inscription samedi 3 janvier 2004 Statut Membre Dernière intervention 9 juin 2011 - 26 nov. 2007 à 08:52
function onLoad (){
this.tonLoadVars.decode();
trace(this.tonLoadVars.image55);
this.createEmptyMovieClip("image22",this.getnextHighestDepth())
loadMovie(tonLoadVars.image55, "image22")
this._x=30.5;
this._y=5.5;}
var tonLoadVars = new loadVars();
tonLoadVars.onLoad = this.onLoad;
tonLoadVars.load("compteur.php");

voila , j'ai un problème j'aimerai savoir pk sa marche , meme le trace merde , dans l'attente
crordialement

1 réponse

cs_goldenboy68 Messages postés 1596 Date d'inscription samedi 3 janvier 2004 Statut Membre Dernière intervention 9 juin 2011 2
26 nov. 2007 à 08:52
this.getnextHighestDepth() erreur de casse : this.getNextHighestDepth()

Après j'ai des doutes sur le "this" que tu as dans le onLoad...fais-voir un trace(this) pour voir ce qu'il te retourne et un autre juste en-dessous de "tonLoadVars.onLoad = this.onLoad" ... faudrait que les 2 renvoient la même chose !

@+! Samy
0
Rejoignez-nous