View Full Version : fastForward function?
Hi everyone,
hope you can help me with this.
I've got some kind of product presentation, being shown like a movie. Now my boss asks me for a function to accelerate the presentation like with a VCR.
Is there any possibility to do so, perhaps by changing the movies framerate temporarely?
thx for any answers
fad
p.s.: It's Flash5
Filipinho
06-26-2002, 04:19 PM
I`m sorry to say that you cant change the frame rate dynamicly. I have seen some tutorial about how to fake this. I don`t remember were I saw it and it was advanced.
Another way to do this is to use _root.gotoAndPlay(_root._currentFrame+2) This should double the speed but it won`t be smooth.
I hope this will help you!
Yes I thought om something like showing only every second frame, too, but I have actionscript in the frames to control parts of the movie and I would probably skip some of them.
Thx anyway - if you remind those tutorials, please tell me.
Filipinho
06-26-2002, 11:34 PM
I looked in my computer and I found that I downloaded the fla file.
So here it is... :)
Hi Filipinho,
thx a lot, that was just what I was looking for.
I just downloaded the file and have yet to figure out how it's done exactly - but it looks great.
thx again
fad
Filipinho
06-28-2002, 05:37 PM
Have you figured it out yet?
Yes, I got it now.
The trick is to set framerate to max and then insert an object that insert a pause every time it comes to the next frame.
Had to do some extra work cause I have multiple swf-files that start and control each other, so actually I've got all swfs with maximum framerate and multiple objects to control the pausetimes, but it works :) .
By the way, a pause button would be good to, but when I just use stop() and play() I can just control the main mc and any child objects keep on playing.
I think I will try to use the frameLimiter object for this, too.
Or do you have any better idea?
Abelius
06-30-2002, 01:48 AM
What do you call maximum framerate? How many fps...? :)
pixelwit
06-30-2002, 02:27 AM
I'm not sure what technique you're using but maybe this thread will help: http://www.actionscripts.org/forums/showthread.php3?threadid=13001
-PiXELWiT
http://www.pixelwit.com
@Abelius
Flash->Modify->Movie->Frame Rate. The possible values are 0.0 to 120.
Abelius
06-30-2002, 05:42 PM
That's why I asked... I don't recommend the 120 frame rate, except if you have to save someone's life with it... :)
Hi,
what`s the problem about it? Is it too hardware expensive?
My movie seems to work good with it.
Ricod
07-02-2002, 11:03 AM
Alternatively, u could make a fast forward button by writing a loop for the on press that makes your movie go to the _Currentframe + 4 for instance. That way, u'll be going forward 4 frames per frame ... going 4x, without tampering with the framerate of your movie.
Yes I thought om something like showing only every second frame, too, but I have actionscript in the frames to control parts of the movie and I would probably skip some of them.
Thx everybody. I think the way shown in the file posted by Filipinho is working very well, so if anyone else has the same problem I would recommand that file.
Best regards fad
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.