Hi all,
Pretty much a newbie so I hope I can make myself understood.
http://www.frostell.com/External_files/Frostell1.swf
I have made a scrolling gallery with an area described by a variable called ‘thumbVar’ which excludes the area above and below the scrolling thumbnails from activating the scroll left or right (excluding the area above and below the thumbnails).
Could someone have a look and at the code and see why the ‘thumbVar=true’ does not work? Is it because I cannot us two parameters within the variable? The strange thing is that the swf does behave properly when first loaded until the cursor moves out of the thumbnail mc. i.e. at first it works, then stops when moving off the thumbnail mc.
Any opinions much welcome,
Petter.
if(_root._ymouse<210 && _root._ymouse>330){
thumbVar=false;
}
if(_root._ymouse>211 && _root._ymouse<329){ //--- this varible doesn't work when I have two conditions
thumbVar=true;
}
if(_root._xmouse<120 and thumbVar==true){ //--- thumbnails move backwards
thumbs_mc.prevFrame();
thumbs_mc.prevFrame();
thumbs_mc.prevFrame();
thumbs_mc.prevFrame();
} else {
thumbs_mc.play();
}
if(_root._xmouse>680 and thumbVar==true){ //--- thumbnails move farwards
thumbs_mc.nextFrame();
thumbs_mc.nextFrame();
thumbs_mc.nextFrame();
} else {
thumbs_mc.play();
}