It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Flash Forum

Frame Delay and Resume

Moderator: Phate

Frame Delay and Resume

Postby chrissp26 on Wed Feb 28, 2007 4:05 pm

Hello,

I'm having some trouble delaying single keyframes in flash.

I'm making a 5 slide slideshow over 5 frames. Each frame needs to last about 4000ms, although this is flexible.
BUT the 4000ms delay must be able to be reset when a button is pressed.

There are 5 buttons on the slideshow allowing a user to return to a previous slide or skip ahead without having to wait.

However, when clicked, the button switches frame but does not reset the delay set on the previous keyframe, so after a few clicks the whole slideshow goes out of sync until it just flashs different slides repeatedly. I've tried what I consider to be everything but as I am a novice I could do with the help of a pro.

The other problem I have which goes hand in hand with the one above is that I need the movie to pause and then resume when the mouse rolls over and out from a particular area i.e. a button. But I have tried setting on rollover stop and on rollout play etc (I know the syntax is wrong but I used the correct in the fla file) needless to say it doesn't work.

I have uploaded the fla file to here in case it helps: http://manage.merrions.com/slideshow.zip

Anyone got any ideas?

Thanks in advance

Chris
chrissp26
 
Posts: 2
Joined: Wed Feb 28, 2007 3:57 pm

Postby flabbyrabbit on Fri Mar 02, 2007 10:48 am

Couldnt you just simply increase the FPS rate to a stupidly high number??

Flabbby Rabbit
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England

Postby chrissp26 on Fri Mar 02, 2007 11:09 am

flabbyrabbit wrote:Couldnt you just simply increase the FPS rate to a stupidly high number??

Flabbby Rabbit


Thanks for the response.

What will increasing the FPS do? Apart from make things a little smoother?

The problem occurs because I have set a delay on the frames. When a button is clicked the frame delay is not stopped and continues so that the next slide finishs prematurely.

I need to stop the frame delay when a button is clicked.
chrissp26
 
Posts: 2
Joined: Wed Feb 28, 2007 3:57 pm

Postby flabbyrabbit on Fri Mar 02, 2007 5:44 pm

Well if its a slideshow, then if you put a pic on each frame and increase the FPS then there will be a longer gap in between the change of pic.

Flabby Rabbit
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England


Who is online

Users browsing this forum: No registered users and 0 guests