[FMX] Smartclip Navigation AS

Hey all,
i did the tutorial on smartclip navigation, and i made a cool looking smart-clip,
( this has probably been asked hundreds of times but i cant find it), how can i use the smartclips to get to another frame, the simple :
on (press){
gotoAndStop(5);
}
makes the smartclip not so smart…!!!
help!
Ben (flashy22)

try _parent.gotoAndStop(5);

Hey amitgeorge,
unfortunatly that didnt work, but i just figured out a way to do it,
instead of
**on (press) { **which is a button action,

**onClipEvent (mouseDown) {
_parent.gotoAndStop(5);
} **which is a movie-clip action, still the “_parent.” was still needed to make it work,
thanks alot,
Ben (flashy22)

Heyyyy. My pleasure.

I think the on press works on movieclips also.

try it on in new separate movie. atleast it does in mx