# Scrollpane not showing Vscrollbar & HScrollbar

**URL:** <https://forum.kirupa.com/t/scrollpane-not-showing-vscrollbar-hscrollbar/265124>\
**Category:** Uncategorized\
**Created:** [July 4, 2008, 9:39am UTC](https://forum.kirupa.com/t/scrollpane-not-showing-vscrollbar-hscrollbar/265124 "2008-07-04T09:39:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![santhosh2008](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@santhosh2008](https://forum.kirupa.com/u/santhosh2008)\
**Post date:** [July 4, 2008, 9:39am UTC](https://forum.kirupa.com/t/scrollpane-not-showing-vscrollbar-hscrollbar/265124/1 "2008-07-04T09:39:19Z")

</div>

## 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/](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, i_5+60, 40, 40_i, 40, 40);  
scrollpane.loadMovie(“image1.jpg”);  
myScrollpane[“imageHolder”+i].\_x= imageWidth \* xinc;  
myScrollpane[“imageHolder”+i].\_y= yinc;

xinc++;
