gotoAndPlay for loaded swf movie
Hi everyone
On the main screen I have a button called "but6" that when clicked slides over to a swf file that is loaded when the page first loads. The problem is that when I click the button I want it to go back and play the swf movie from the beginning. I have the following actionscript but it doesnt work:
but6.onPress = function() {
_root.trig.xposnew = -((_root.imagewidth)*6);
clip6.gotoAndPlay(1);
};
/* Loading the images in their appropriate Movie Clips */
loadMovie("Contact.swf","clip6");
/* Setting the x and y position of Movie Clips in which images are loaded */
setProperty("clip6",_x,_root.imagewidth*6);
setProperty("clip6",_y,0);
Is there anyone who can help me out? Thanks...