This content has been marked as final. Show 5 replies
You are trying to call a function from another function called by home_btn.
But home_btn has no event handler and therefore cannot call anything.
You need the onRollOver and On RollOut event handlers so you cannot simplify your code the way you are trying.
Instead use a loop to assign the buttons to their event handlers and functions.
OOps sorry misread your post. DazFaz has posted the correct answer :)
Thx for a fast answer, seems like a good solution however since Im totally new to actionscript I dont really understand the following parts of the code:
although Im on my way to read wbout it the manual :)
":Void" keeps things neat and make sure that nothing is returned to the call method.
"trace()" is one of the ways that you can keep check or variables and a like. When called it returns an output to the well output window. On this occassion I was checking to make sure the anim movieClip name was getting through to the function.