ScrollPane + clip

grungy77 Messages postés 4 Date d'inscription vendredi 21 novembre 2003 Statut Membre Dernière intervention 14 avril 2005 - 13 avril 2005 à 17:22
grungy77 Messages postés 4 Date d'inscription vendredi 21 novembre 2003 Statut Membre Dernière intervention 14 avril 2005 - 14 avril 2005 à 15:51
Bonjour,

Depuis 2 jours, je n'arrive pas à trouver le chemin de mon clip qui se trouve dans mon scrollPane. J'explique :
Voilà l'original :
function cuePoint( evt ){

// Look for buttons named with the current cue point name plus the letters '_btn'
var cueBtn = thumbStates[evt.cuePointName+"_btn"];
if( cueBtn != undefined ){

if( thumbStates.highlight_mc == undefined )
thumbStates.attachMovie("ThumbOutlineSelected","highlight_mc", 100);

thumbStates.highlight_mc._x = cueBtn._x;
thumbStates.highlight_mc._y = cueBtn._y;
thumbStates.highlight_mc._width = cueBtn._width;
thumbStates.highlight_mc._height = cueBtn._height;
}

et maintenant j'ai rajouté un scrollPane sur la scène et donc j'ai mis mon clip thumbStates en liaison dans ma bibliothèque. J'ai essayé de remplacer thumbStates par scrollPane.content dans la déclaration de mon var et un trace pour voir s'il affichait bien le chemin mais undefined à chaque fois.

J'espère avoir été assez clair et vous remercie par avance de votre aide.

1 réponse

grungy77 Messages postés 4 Date d'inscription vendredi 21 novembre 2003 Statut Membre Dernière intervention 14 avril 2005
14 avril 2005 à 15:51
Y'aurait-il quelq'un pour m'aider svp ???
0
Rejoignez-nous