I am new to AS3 and building a simple flash banner. There will be four movie
clips consisting of just one word each (in the sample below I'm just using
rectangle for now). When moused over each word will show a rectangle with a
message in it, like a large tool tip. I have a rudimentary version working
fine, see code below.
Question 1: Is there a way to just write on function which will work with all
four buttons changing the message, say using variables like AS2?
Question 2: Does the code below look relatively efficient? I'm sure there are
better ways to write it.
Here's a link to the rudimentary version,
, that should give you an idea
of what I'm trying to do.