Hi.

I would like to use an IF statement but am not sure of the syntax.

This is what I would like:


on (release) {
tellTarget ("_root.menu_sub01") {
gotoAndPlay(2);
}
}
IF _root.menu_sub02 at frame 16

on (release) {
tellTarget ("_root.menu_sub02") {
gotoAndPlay(16);
}
}

IF NOT then do nothing.


If anyone could re-write this for me it would be great.

Thanks - Joe