Try something like this (I have put Rectangle() commands in instead of the Image() commands for testing purposes):
shape main
{
layoutType="border";
setfillcolor(250, 250, 250);
rectangle(0,0,100,100);
println("#name#");
addsubshape("rightscrollbar","E");
addsubshape("bottomscrollbar","S");
shape rightscrollbar
{
layoutType="border";
preferredWidth=16;
rectangle(0,0,100,100);
addsubshape("scrollup","N");
addsubshape("scrolldown","S");
shape scrollUp
{
preferredheight=16;
rectangle(0,0,100,100);
//image("ScrollUp.PNG",0,0,100,100);
}
shape scrollDown
{
preferredheight=16;
rectangle(0,0,100,100);
//image("ScrollDown.PNG",0,0,100,100);
}
}
shape bottomscrollbar
{
layoutType="border";
preferredheight=16;
rectangle(0,0,100,100);
addsubshape("scrollleft","W");
addsubshape("scrollright","E");
shape scrollLeft
{
preferredwidth=16;
rectangle(0,0,100,100);
//image("ScrollLeft.PNG",0,0,100,100);
}
shape scrollRight
{
preferredwidth=16;
rectangle(0,0,100,100);
//image("ScrollRight.PNG",0,0,100,100);
}
}
}