Edit: Just did a bit of reading I just realized I wasn’t making much sense (its late) so i’ll try again…
I want to create a class for some buttons. First take a look at this screen dump which should give you all an idea I what Im trying to create.
Each button is a square, cube whatever you want to call it. When the mouse is over the button I want to fade in a specific colour (image). How can I construct a class that allows me to specify what image to fade in for a button?
e.g.
var homeBtn:buttonClass = new buttonClass(“imageID”, “gotoLink”, “btnLabel”);
imageID = What colour image to fade in?
gotoLink = Url or movie to load
btnLabel = Allthough the menu doesnt have text I want to use a tooltip later on
Making any sense lol. Any help or suggestions?