Simple action script syntax?

MX

AIM: I want to target a particular frame on a movieclip (instance name “buttonEffect”) as I roll out. The movieclip is inside a button.

METHOD:

Ok, so 1st of all Im applying the script to the button. But what syntax do I use?

Used to be so easy with tellTarget - ne ideas???


on(rollOut){
     buttonEffect.gotoAndPlay("FRAME")
}

that should work. And its much easier than tellTarget…

Just give the name of the MC, then a “.” then that action you wish to perform…