Hover Captions, text + gotoAndStop command

Hi - I’m a newbe to Flash and really need some help!

I’m working on a Map page where text has to pop-up and follow the mouse as the mouse rolls-over locations, and also a 2nd panel of text has to appear when you click on those locations… here’s how it’s going:

http://www.nhp.com.es/test/INMO1/oficinass.html

The problem is that when the mouse moves off the location, the command -

 on (rollOut) {
gotoAndStop(1);
}
  • is reverting the whole thing back to the 1st frame and so disappears the last clicked-on location text.

If I delete the ‘…gotoAndStop(1);…’ command then the text remains, but I lose the pop-up effect over the other locations - I’ve done this for 1 location: on the top right - if you click on ‘Barcelona’ and move off, the text panel remains but now the pop-up text doesn’t appear on the other locations.

If you then roll-on and then off any other location, the ‘…gotoAndStop(1);…’ runs and it reverts back to the 1st frame and the pop-ups reappear.

Does anyone know how I can make this all work together? - so that the pop-ups always appear, and the ‘…gotoAndStop(1);…’ command doesn’t need to be used or doesn’t clear the text panel that appears on the left? I’m guessing that instead of putting all of the hover caption commands in one frame, maybe they need to be placed into each individual button - but like I said: that’s my guess - not only do I not really know what I’m talking about, but I can’t even get the hover commands to work when placed inside the button’s action window.

Well, that’s my question! - I don’t know if I’m doing this the long way, the wrong way, a strange way, or what way… but any help would be way appreciated!!

AND THANK YOU KIRUPA! and everyone who uses these forums - it’s great to get really good tutorials, and for free… I’d be completely lost without people like you all! :smiley: