Geodesic_D
12-26-2006, 06:13 PM
I've put together an image slideshow in Flash, and I want to give users the ability to skip to any frame they desire.
I have an input text on the frame called 'frameno' - this is where the user enters what frame they want to go to. Then, they click a button, and are taken to the specified frame.
The AS on the button is
on (release)
{
var frame = frameno.value;
gotoAndStop(frame);
}
But whenever I enter a number in 'frameno' and press the button, nothing happens. What am I doing wrong?
Also, I would like to give some sort of warning if the user were to enter a number higher than the number of frames in the slideshow.
Many thanks. :thumbsup:
I have an input text on the frame called 'frameno' - this is where the user enters what frame they want to go to. Then, they click a button, and are taken to the specified frame.
The AS on the button is
on (release)
{
var frame = frameno.value;
gotoAndStop(frame);
}
But whenever I enter a number in 'frameno' and press the button, nothing happens. What am I doing wrong?
Also, I would like to give some sort of warning if the user were to enter a number higher than the number of frames in the slideshow.
Many thanks. :thumbsup: