A little background on what I'm trying to do. I am making an campus image map, when the mouse is rolled over one of the letters, a little box should come up to show a little snipped about the building and then something that can be clicked to go to the web page associated with that building.
This page is what I had/have so far
Campus Map. Now, what is going on there is, those things that follow the marker around are images and the letters themselves are hotspots. I need to make it better.
Here is the code I'm putting in the button:
CODE
on (rollOver) {
loadText = new LoadVars();
loadText.load("engtech.txt");
loadText.onLoad = function(success) {
if (success) {
// trace (success);
engtech.html = true;
engtech.htmlText = this.engetch;
}
};
}
My problem is that I don't know if I'm putting it in the right place, or if I'm asking too much of my button (a rollover and a click - but its on a different layer). Eventually if I get the rollover to work and have the external text show up (and show as html) I would take the onclick off and just have the text link inside the box that would show for each building. When I test the movie, I don't see anything come up. I tried it another way, but I never saved that old code, and just had an empty text box. I'm so confused.