Hi, there all…
So, is there anybody out there that can help me or explain how to re-use some code over and over again with out placing it over and over on a frame-script?.. this is the code:
//
this.onEnterFrame = function() {
if (scrollmessage<>false) {
if (_root.backgroundmap.hitTest(_root._xmouse, _root._ymouse)) {
if (Key.isDown(Key.CONTROL) || Key.isDown(Key.SHIFT)) {
usecontrol_mc.gotoAndStop(1);
}
usecontrol_mc.gotoAndStop(“appear”);
} else {
usecontrol_mc.gotoAndStop(“desappear”);
}
navmapwindow_mc.mappointer_mc._x = -(gallerymapmanager_mc.banderasbay_mc._x/(17.4)-10);
navmapwindow_mc.mappointer_mc._y = -(gallerymapmanager_mc.banderasbay_mc._y/(17.7)-10);
}
};
//
stop();
and I have to use it in a bout 60 different frames!
Thanks in advance…
P.D. in case you see bad syntax I will appreciate your suggestions. :love: