I am trying to attach my dynamic moviclips to a scrollpane. But this code does not work properly.
It does not showing vertical scrollbars and horizonatl scrollbars for the scrollpane.
Here is the link http://www.websight.co.in/scrollpane/
Here is the code.
imageWidth = 300;
imageHeight = 100;
totalimages = 6;
var yinc = 10;
var xinc = 0;
for (i=0; i<= totalimages; i++){
if(i==3)
{
xinc = 0;
yinc = yinc + imageHeight;
}
scrollpane = myScrollpane.createEmptyMovieClip(“imageHolder”+i, i5+60, 40, 40i, 40, 40);
scrollpane.loadMovie(“image1.jpg”);
myScrollpane[“imageHolder”+i]._x= imageWidth * xinc;
myScrollpane[“imageHolder”+i]._y= yinc;
xinc++;