Dynamic Movie scope question

[FONT=Times New Roman][SIZE=3]Dynamic MovieClip scope question[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]I reused the thumbnail tutorial code from this site and retooled it to work from PHP to MySQL rather than an XML file. Works great!!! Thanks Kirupa.com[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]Problem I’m having is when I load the .swf file into a movie the scrolling stops working…[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]The working file is this…….[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3][COLOR=#800080]http://www.hc3d.com/sales/get_asset.html[/COLOR][/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]but when loaded into the main .swf file ……[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3][COLOR=#800080]http://www.hc3d.com/sales/[/COLOR][/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]the scrolling thumbs don’t scroll (any thought word be a great help)[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]here is the new code[/FONT][/SIZE]

////////////////////////////////////////////////////////////////////
function GetThumbData() {
image = [];
thumbnails = [];
total = root.NewImageTotal;
for (i=1; i<=total; i++) {
image* = "Preview_Files/Asset
" + root.My_ID_text + “/” + “Asset_preview”+i+".jpg";
thumbnails* = "Preview_Files/Asset
" + _root.My_ID_text + “/” + “Thumb_preview”+i+".jpg";
thumbnails_fn(i);
}
firstImage();
}
GetThumbData();
p = 1;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<total) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p–;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[_root.NewPrimary], 1);
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip(“tscroller”, 1000);
scroll_speed = 20;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
if ((_root._xmouse>=(hit_right._x-50)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=(hit_left._x+50)) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip(“t”+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(target_mc._width+5)*k;
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};
target_mc.onRollOver = function() {
this._alpha = 60;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 100;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], “thumbnail_mc.t”+k);
}
stop();