Hello,
For a site dimage I have several buttons that are supposed to load into a scrollpane images.
My code works but there is a problem with scrollpane bars: you can not sen servir.Mon problem comes from my onEnterFrame but trying to add a deleteEnterFrame the end of my office, the images do not remain visible in the scrollpane
Here's the code:
bouton5.onRelease = function () {
container. _visible = true;
monscrollpane._visible = true;
file = "5";
_root.chargejournal = new LoadVars;
_root.chargejournal.onLoad = function () {
_root.createEmptyMovieClip ("container", 1);
_root.conteneur._x =- 9000;
_root.conteneur._y =- 9000;
for (i = 0; i <_root.chargejournal.nbphotos; i + +) {
_root.conteneur.attachMovie ("galerieMC", "gallery" + i, i);
_root.conteneur ["gallery" + i]. _x = _root. chargejournal ["espacephotos" + i];
_root.conteneur ["gallery" + i]. createEmptyMovieClip ("cadrephoto", 1);
_root.conteneur ["gallery" + i]. cadrephoto.loadMovie ("work /" + _root.dossier +"/"+_ root.chargejournal ["Title" + i] + ". jpg");
}
}
_root.chargejournal.load ("work /" + _root.dossier + "/ log. txt ");// in my log file, the number of pictures and their positions (space images) are shown.
advertising ();
};
public function () {
onEnterFrame = function () {
_root.monscrollpane.setScrollContent (_root.conteneur);
};
}
Jaimerai add more smoothing images loaded with addListener...I do not know where the application...
Thank you in advance for your help...