I have a button that opens an external movie clip.

Here is the code for that button.

on (press){
loadMovie("preview.swf","_root.previewplaceholder" );
}

That works just perfect.

Here is what else I want in that button but not sure how to do it.

on (release) {
if (count == 0) {
preview.gotoAndPlay(1);
count++;
} else {
preview.gotoAndPlay(31);
count--;
}
}

What this code is trying to do is in the preview.swf gotoAndPlay frame 1 or gotoAndPlay frame 31.

What does the:
preview.gotoAndPlay(1);
line have to look like when that is an imported .swf


Hope this is understandable!!
Thanks!