Hit test problem when using it as a button

I have a button (actually a mc) that uses hittest to get a nice smooth fading effect. I want to use this button to jump to a frame inside a “content” movie clip. It’s kind of hard to explain, but I have attached the fla. I’m stumped on this one…if anyone can help, I’d appreciate it. Thanks!

  1. You’re not targetting the movie clip correctly. Use [font=courier new]_parent[/font] to reference the parent movie clip (or timeline), so that the movie clip cliper can be found:
on (release) {
	_parent.cliper.gotoAndStop("circle");
}
  1. You forgot to assign the frame label, circle. :stuck_out_tongue:

Ahhh! Thank you! You know, I mocked this version up really quick…in my real movie I had “circle” labled. The _parent statement is what I needed!

So in theory, _parent is like “going down (or back) a level”? Is that right?
Thanks a million!

Yep, that’s right. :slight_smile:

And you’re welcome. :wink: