Okay I have a slideshow here is the code that works fine inside the “slideshow_MC”. here is the code:
//------------start code------------//
stop();
prev_btn.addEventListener(MouseEvent.CLICK, prevClick);
next_btn.addEventListener(MouseEvent.CLICK, nextClick);
function nextClick (event:MouseEvent): void
{
if(this.currentFrame == this.totalFrames)
{
gotoAndStop(1);
}
else {
nextFrame();
}
}
function prevClick (event:MouseEvent)
{
if(this.currentFrame == 1)
{
gotoAndStop(this.totalFrames);
}
else {
prevFrame();
}
}
///----------stop code------//
Now I created buttons to click on the current image on the current frame and have it redirect it to another movie clip or Scene to play the external swf.
the problem is I get an error “Error #2108: Scene start was not found.” everytime I click the button to go to the frame and scene containing the external swf load mc.
this is the code for the button AS3:
function handleClick1 (pEvent:MouseEvent): void
{
gotoAndStop(3, “Scene 1”);
}
vid_btn1.addEventListener(MouseEvent.CLICK, handleClick1);
Please help what am I missing here?? I would like to jump from the current frame to another frame in another movie clip or jump to another frame in the scene or another scene…
any help is appreciated!
Hoss