ok, i’m having some trouble setting up the links in my flash file.
this works:
// profile
profile.btn.onRollOver = function() {
profile.gotoAndPlay(1);
}
this doesn’t:
function rollUp(item) {
item.gotoAndPlay(1);
}
profile.btn.onRollOver = rollUp(profile);
i’m not really sure what’s up. i’ve taught myself actionscript just by messing around with different ideas, but the function is so simple i’m thinking it has to do with how i’m trying to trigger it?
i want to use the rollUp function because all the buttons have the same rollover effect and if i ever change the frame count, i’ll only have to update the rollUp/rollDown numbers once instead of each button’s onRollOver and onRollOut.