Hello,
How can I modify this tooltip script into something I could use to pull a new jpeg image for each tooltip. Right now I have it set up so I have a bunch of different tooltips with different identifiers exported to actionscript in the first frame and it’s pretty big. Any ideas?
textArray = [" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "];
urlArray =[" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "]
// --------------------------------------------------------------------------------------
for (i=0; i<textArray.length; ++i) {
bu = _root.sectionMC_05["link"+(i+1)];
bu.whichText = textArray*;
bu.onRollOver = function() {
attachMovie ("dragShopMc_"+this._name, "dragShopMc", 1, {_x:_xmouse-95, _y:_ymouse+151});
dragShopMc.onEnterFrame = function (){
this._x = _xmouse-Math.round(this._width/2);
this._y = _ymouse+Math.round(this._height);
}
_root.sectionMC_05.dragShopMc.text = this.whichText;
};
bu.onRollOut = function() {
dragShopMc.gotoAndStop(1);
dragShopMc.removeMovieClip();
};
bu.onDragOut = function() {
dragShopMc.gotoAndStop(1);
dragShopMc.removeMovieClip();
};
bu.onDragOver = function() {
dragShopMc.gotoAndStop(1);
dragShopMc.removeMovieClip();
};
bu.onPress = function() {
dragShopMc.gotoAndStop(1);
};
bu.link = "http://"+urlArray*;
bu.onRelease = function() {
getURL(this.link, "_blank");
};