J'essaye de créer un scrollBar pour mon MC qui contient plusieurs mc horizontalement. Je voulais appliquer ULscrollBar pour mon conteneur MC afin que je puisse faire défiler pour déplacer le petit MC mais je ne pouvais pas le faire fonctionner ... J'apprécierais que quelqu'un puisse m'aider à ce sujet. (Il me est pas la tête de défilement pour faire glisser ...) Merci ...actionscript 3 Problème ULscrollBar!
alt text http://popslinger.org/scroll.jpg
cont=new videoCont();
cont.x=_x;
cont.y=_y;
addChild(cont);
var mySb:UIScrollBar = new UIScrollBar();
mySb.direction = "horizontal";
mySb.setSize(cont.width, 25);
mySb.move(cont.x, cont.y+cont.height);
mySb.scrollTarget=cont; //the black container....
addChild(mySb);