PDA

View Full Version : scope problem with _mc inside _btn


systems
10-30-2004, 06:04 AM
hi,

this makes no sense to me

container_mc.test_mc.stop(); //this works like normal

myButton_btn.tweened_mc.stop(); // why does this not stop "tweened_mc"?

is there some difference in the way that flash handles scope when passing through a button?

"tweened_mc" is a mc containing a tween sitting on the over keyframe inside a button named "myButton"

where did i go wrong?

skjc
11-05-2004, 01:58 PM
The tween will stop when the mouse pointer is moved away from the button so you should not need a stop.