I'm designing a flash app, which will enable the user to place items of clothing on a model, the items of clothing are movie clips, I have contained these movie clips in a scrolling thumbnail panel, I have used the exact same scrolling panel as in the tutorial on this site gotoandlearn . I would just like to know what scripting would I use to get my clothing items (movie clips) within the scrolling panel when clicked on to be placed on my model, and how would I reset that action once done? so the items of clothing can be taken off. Here is the scripting I have used for the scrolling thumbnail panel.

panel.onRollOver = panelOver;

function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}

var b = stroke.getBounds(_root);

function scrollPanel() {
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}

if(panel._x >= 89) {
panel._x = 89;
}

if(panel._x <= -751) {
panel._x = -751;
}

var xdist = _xmouse - 250;

panel._x += Math.round(-xdist / 7);
}