Hello,
I have a huge flash error. I need some serious help on this could be simple problem. I am trying to create a thumbnail panel that has all my pictures on it which scroll as the mouse moves over it… BUT I cant figure out how to link them for the life of me. I’m using a Loader Compontent that loads the main picture of the thumbnail when clicked on the panel. Heres my code for the thumbnail panel if you need it:
panel.onRollOver = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}
var b = stroke.getBounds(_root);
function scrollPanel() {
if(_xmouseb.xMax || _ymouseb.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}
if(panel._x >= 79) {
panel._x = 79;
}
if(panel._x <= -379) {
panel._x = -379;
}
var xdist = _xmouse - 400;
panel._x += -xdist / 7;
}
Is there something that kills a simple code like this from working in another movie clip? I am trying to get this code to work…
on (release) {
loader.contentPath = (“1.jpg”);
}
Am I going crazy or what? Why doesnt this work?
Thanks! [SIZE=1][COLOR=#bbbbbb]
[/COLOR][/SIZE]