I’m using the following actionscript code to hover over a thumbnail and ease in and out with the mouse pointer to view the enlarged size of the picture. Right now it only happens on one picture but I would like to multiply this function to several small different thumbnails on the same flash platform. Can anyone give me some pointers?
hoverover.onRollOver = function() {
this.onEnterFrame = function () {
caption._alpha += (100-caption._alpha)/3;
caption._x -= (caption._x-_xmouse)/2;
caption._y -= (caption._y-_ymouse)/2;
}
};
hoverover.onRollOut = function() {
this.onEnterFrame = function() {
caption._alpha += (0-caption._alpha)/3;
};
};