skippy3pt
04-15-2008, 07:46 PM
I have a button on the main time line that when clicked needs to go to the next frame then go into a movieclip and then to frame 4 of that movieclip. I just don't know what the AS would be to accomplish this. This is what I have tried, but is not working.
if(contentBookmark == 0) {
var contentBookmark:int = 1;
}
stop();
photosMC.gotoAndStop(contentBookmark);
function clickComputerBtn (evt:MouseEvent):void {
contentBookmark = photosMC.currentFrame;
gotoAndStop(5);
}
If anyone has any ideas please reply.
EDIT
Please put your code in
[ as ] [ /as ] tags (without spaces)
if(contentBookmark == 0) {
var contentBookmark:int = 1;
}
stop();
photosMC.gotoAndStop(contentBookmark);
function clickComputerBtn (evt:MouseEvent):void {
contentBookmark = photosMC.currentFrame;
gotoAndStop(5);
}
If anyone has any ideas please reply.
EDIT
Please put your code in
[ as ] [ /as ] tags (without spaces)