I am hopeless at Flash - need help with rollovers (AS.2)

Hey all,

I am making a little flash feature for work, its not anything too fancy.

Its basically to be a map with little red spots, you can hover over them and it shows the 4 locations where we have offices.

The problem is this:

I have the rollover text showing up when you land on the red spot, but on the left side (where the text description is) if you move the mouse in that area, all the other text shows up, as its linked to the button.

Can anyone help me separate this or give me advice on how to change it?
I am pretty bad at Flash.

I have uploaded the SWF to here, so you can see what I mean:
http://mgdesign.hostultra.com/world_map.swf

I have zipped the files (90kb), in case you want a closer look:
http://mgdesign.hostultra.com/World_Map_Flash.zip

Any help is much appreciated!

I have not looked at your files yet, just the .swf. What I would do is create a movieclip leaving the 1st frame empty with a stop(); action in it, then place each text description on a different keyframe starting at frame 2 also adding a stop(); action in each. Then for the button(s) I would do a descriptionClip.gotoAndPlay(framenumber); changing frame number to the corresponding frame for each button. descriptionClip is the instance name you give to that mc.

For example:

chicagoBut.onRollOver = function() {
  descriptionClip.gotoAndPlay(2);
}
chicagoBut.onRollOut = function() {
  descriptionClip.gotoAndStop(1);
}
irelandBut.onRollOver = function() {
  descriptionClip.gotoAndPlay(3);
}
irelandBut.onRollOut = function() {
  descriptionClip.gotoAndStop(1);
}

chicagoBut and irelandBut are the instance names for the buttons. Hope that makes sense.

Thanks! I’ll give this a go and report back… I think I know what you are talking about.

Getting the hang of it now, can you maybe give me a bitesize explanation on how this descriptionclip thing works?

Looks handy. A movie clip with different frames inside its own section basically?

Here is a rough example. :slight_smile:

Thanks, although I have no idea how you have done the text

:s

I cant even see it or select it, plus its all in the same frame.

I understand the movie clip rollovers, thats fine, but the text is something I dont know how to do.

Ok, so I have double clicked into it, I am starting to buyild around it, hopefully I can work it out!

Thanks for the help, I will post an update if I can manage the other buttons etc

It’s a movieclip with 2 layers, a text layer and an actions layer. The 1st frame is empty so it will be hidden until the user rolls over a button. Each keyframe of the actions layer has a stop(); action in it so it does not keep playing, then each keyframe of the text layer has a description in it starting at frame 2. Frame 2 is for the Chicago description and frame 3 is for Ireland. Then the 3rd, 4th and 5th…(they are not there yet) would be for the next descriptions. Then the buttons just tell it to go to the frame number for the corresponding descriptions.