Groups | Blog | Home
all groups > flash actionscript > october 2005 >

flash actionscript : How to Control imbedded movies?


sovereign797
10/2/2005 7:53:26 PM
I have a series of menu buttons on the first frame that move the main timeline
to various spots to effectively move between site pages (using the "on release
(gotoandStop(x)) command. On several of these "pages" an embedded movie runs
automatically and stops at the end. The original menu items are still
visible, and I if the user clicks the button for the page they are on again, i
want the embedded movie to replay again from the beginning. How can I do this?
I appreciate your assistance.
kglad
10/2/2005 10:13:44 PM
sendToFrame22Btn.onPress=function(){
if(_root._currentframe==22){
_root.frame22_mc.gotoAndPlay(1);
} else {
_root.gotoAndStop(22);
}
AddThis Social Bookmark Button