Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slide Show Problems

Status
Not open for further replies.

kathyc20

Programmer
Mar 7, 2001
96
CA
I'm just a newbie To Flash MX and need some help.
with a slideshow I'm creating.

First problem is my buttons don't seem to work
on the first mouse click. I have to press a button
twice and then the button works.

My second problem is that my continuous play button
makes my slideshow disappear. I put in the code...
on (release) {
play();
}

inside the button. Once I click this button
my slideshow disappears from the screen.

Any help would be appreciated.

Thanks.
 
Can you post a link to your .fla? Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
Checking it out! Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
Think I have it working like you wanted.
A little more complex code on the auto feature.
The delay between slides is presently set to 2 seconds but you could change that to your liking. Check the comment on the setInterval action.

To have your button work on the first press, you had to set i = 1, so that the on press would make it 2.
You'll have to correct numbers if you decide to add slides, but other than that, it should work fine.


Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
Forgot to mention that the auto button is now a toggle. hitting it a second time stops the show as the stop button does. Hitting it again restarts the automatic show from where it was at. Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 

Thank you so much. This was very kind
of you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top