flash q
flash q
Out of context: Reply #5
- Started
- Last post
- 17 Responses
- ozhanlion0
first to first, you cannot put function literals on movieclips.
You can only put onClipEvents to mcs and button events to buttons. But it is not a good style of coding. put all of your code to frames and it is better to use function literals for memory, but there are some things to watch about the scope.
So about your problem;I can understand that but1 is a mc right ? So buttons are inside the but1 mc with the mc you are trying to put the script right ?
well put this script on the timeline where your buttons reside.
_root.but1.onRollOver = function() {
endX = 57
}hth
come back if you have more problems.