Fast Forward Movie Clip Timeline
Ok, so yesterday i was wondering if there was an easy way to do this, and i put my head to the grinder thinking this up...
Basically, here's the script I'm using to achieve a fast forward. It affects the main timeline by having a slider give it a # value that is added to the _currentframe. So it basically tells it to skip X amount of frames to give the illusion of the animation playing faster.
I can get it to work on the main timeline, when it's there. But when I bundle it together in a mc, I cant get the code to to just effect the movie clips timeline. I dont know when to use _root, this, or if and where I should plug in the movie clips instance name of "red_mc". If anyone could help and tell me where I went wrong I'd be very grateful.
Code:
this.onEnterFrame=function (){
_root.createEmptyMovieClip("controller_mc",1);
controller_mc.onEnterFrame=function(){
_root.gotoAndStop(_root._currentframe+mySlider.ratio);
if (_root._currentframe+mySlider.ratio > _root._totalframes){
_root.gotoAndStop(_root._totalframes);
}
}
}
this.onRelease=function (){
controller_mc.removeMovieClip();
}
this.onReleaseOutside=function (){
controller_mc.removeMovieClip();
}
FlashKit > Flash Help > Flash Newbies
Posted on: 05-18-2008, 12:05 PM
View Complete Forum Thread with Replies
Sponsored Links:
Fast Forward Movie Clip
I have tried searching the forums for this, but have had no luck.
Does anyone have a script for a fast forward and rewind for the movie playback buttons?
I am using Flash MX and the playback buttons from the library.
Thanks!!!
View Replies !
View Related
[CS3] : Fast-forward Play For Movie Clip
Hi,
I have embedded a short movie clip (called 'clip') into flash (not as an flv),
and added the following code to make it run in fast-forward mode. It works fine in the beggining, but crashes after a minute or so ! Any idea why ?
package {
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.events.Event;
public class SmartFastForward extends Sprite {
public function SmartFastForward() {
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function onEnterFrame(event:Event) {
if (clip.currentFrame < clip.totalFrames-1)
clip.gotoAndStop (clip.currentFrame + 2);
else
clip.gotoAndStop(1);
}
}
}
Thanks !
View Replies !
View Related
Fast Forward Both A .flv And The Main Timeline?
I have a flash movie that contains a .flv video of 2 "talking heads" on one side. On the other side is an area where various charts and graphs appear in relation to what the 2 people are discussing. I need to have a "fast forward" and "rewind" button that can fast forward both the .flv and the main timeline so they stay in sync. The videos are too long to embed in Flash 8 (about 7-10 minutes each), so I can't figure out how to keep the main timeline and .flv video in sync. This was easy in MX because, for whatever reason, I was able to embed the videos w/out any audio/video sync issues, but in Flash 8 the audio is waay off the video after about 15 seconds.
Anyway, I came up with an idea that isn't working. I figured if I took the _currentframe value and divided by 12, that would tell me how many seconds into the video I am. I set this to a variable, and then incremented by 120 to jump ahead 10 seconds. I also used this variable (pre-increment) to try to seek 10 seconds ahead in the video. It may be easier just to take a quick look at my code! :-)
When I execute this, I actually tend to jump backwards in the .flv video AND main timeline. I'm sure I have something confused, so any suggestions as to how to accomplish such a thing would be greatly appreciated.
Attach Code
fastforward_btn.onRelease = function (){
// first, let's stop the video and main timeline
myVideo.pause();
stop();
// now, let's get a whole # representing where we are in the movie:
var myTest:Number = Math.round((_currentframe / 12));
// hopefully, myTest equals the CURRENT position in the movie measured in SECONDS!
// let's jump ahead 20 seconds from where we currently are
myVideo.seekSeconds(myTest + 20);
// and also jump ahead 240 frames (20 seconds * 12 fps = 240)
gotoAndPlay(myTest + 240);
// finally, restart the movie
myVideo.play();
}
View Replies !
View Related
HOW DO I FAST FORWARD THE TIMELINE SMOOTHLY?
Hi, I'm using this dock project: os x dock in flash
to make a timeline. Im replacing the icons with year dates 1999 2000 2001 etc... (which i've done)
I have a movie clip that is all the info on one graphic that scrolls up or down. Understand. Like one long slide, up or down.
When I click on a year I want the corresponding year in the long slide to slide into place (with easing).
Go to and stop function just skips everything and stops, and goto and play is also wrong. I also want it to speed into it and then slow down
a bit like this one but with no bottom slider, just buttons for each year...
you can quite clearly see at the top my tweens for the text slides and the bottom, the date numbers. I want these buttons to smoothly scroll the timeline back and forth, pushing the slides up and down. (smoothly)
here is a screenshot of my stage
any ideas guys?
Edited: 05/17/2007 at 04:03:13 PM by feedmeapples
View Replies !
View Related
Making A Movie Clip Move Playback Head Forward In Mian Timeline
I have several complex movie clips that i want to play after each other. Obvisually, each movie clip is to save having too many layers on the mian timeline. I place each movie clip individually on the main timeline but I only get the first to play, i tihnk because the main timeline progresses on, regardless if the previous movieclip has finished. How can I get round tis and stop the playback head until each movie clip has finished.
..Flash 5
In appreaciation
Graham
[Edited by FlashManAndRobin on 08-01-2002 at 11:49 AM]
View Replies !
View Related
Running Embedded Clip In Fast-forward
Hi,
I embedded a short movie clip (called 'clip') into flash (not as an flv),
and added the following code to make it run in fast-forward mode. It works OK in the beggining, but it crashes after a minute or so ! Any idea ?
package {
import flash.display.Sprite;
import flash.display.MovieClip;
import flash.events.Event;
public class SmartFastForward extends Sprite {
public function SmartFastForward() {
addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function onEnterFrame(event:Event) {
if (clip.currentFrame < clip.totalFrames-1)
clip.gotoAndStop (clip.currentFrame + 2);
else
clip.gotoAndStop(1);
}
}
}
Thanks !
View Replies !
View Related
[F8] Timeline With "fast Forward" Links
Hello,
I've been tasked with creating a presentation that auto runs with a visual timeline. Along the timeline are words that mark the beginning of a new section. The words also serve as "fast forward points" whereby you can click it and jump to that part of the timeline. I need the ability to pause the timeline too.
In fact it's incredibly similar to this mechanism
http://www.nseries.com/index.html#l=products,n810,demo
I've been thinking about this all night and I'm not sure how to get the timeline to conincide with the movies. I'm going to be making every item as a scripted movieclip so that I can stop it and start it at will, rather than relying on a linear timeline. What I can't fingure out is how to get the timeline working with that.
Can anyone point me in the right direction with this? Has anyone done this and found a good way of tackling it?
Many thanks
matt
View Replies !
View Related
Movie Fast Forward / Rewind, Multiple Movie Problems
Hi, I have been stumbling on this for days...
I have a movie(wmv) i imported to a movie clip in flash. In this movie clip I also have a "slideshow" where it shows a presentation while the imported movie is playing. As of now each "slide" in the show is a movie clip. And it is all timed with the imported movie. The thing is, when I fast forward/rewind it gets mixed up. For example, it goes in to the second movie clip called "slide02" and then inside that if you fast forward the movie it only fast forward the MAIN imported movie and its just normally playing the slide movie. I have this script on the fast forward button:
Code:
on(press){
this.gotoAndPlay(this._currentframe+30);
slide01.gotoAndPlay(slide01._currentframe+30);
}
This code works. BUT it only works for the FIRST slide! (slide01)
There are 10 seperate slides(movie clips) that I have made and I want to be able to control the fast forward /rewind where ever the movie may be playing. Can anyone help me with this?
I was thinking use a variable "currentMovie = 0" (1,2,3,4,5, and so on) and set that currentMovie in an action layer where each new slide starts, then use that to replace the "slide01" below. Is this possible?
Doesn't work:
Code:
on(press){
this.gotoAndPlay(this._currentframe+30);
slide0+currentMovie.gotoAndPlay(slide0+currentMovie._currentframe+30);
}
Please help! Boss is getting on me.
Thanks in advance!
View Replies !
View Related
How To Fast Forward?
how exactly do you have a button.. so when you click and continue to press it fast forwards. like if you have an animation. and you have a play button. you hit it and as long as you hold it down the frames will play.
This should be faster than the actual play of the movie (if you simply play the animation)
This also has to work in reverse.
maybe just something like skipping frames.. instead of nextframe or prevframe.. you can have it jump 3 or 4 frames at a time. the frame position is always at an unknown position and must forward or rewind from the frame it is currently on.
ANY Help?
Thanks
View Replies !
View Related
Fast Forward
I checked live docs, but couldn't find my answer.
Does Flash Media Server support video that can be fast forwarded, rewound, skip sections, etc?
Thanks
View Replies !
View Related
Fast Forward A MC
what are the script or function to fast forward a animation? i dont want to use the setting in the frame rate in the flash window editor there. Lets say a animation in real time took 20 seconds to run, i want to make it to 5 seconds to run the whole animation, any solution? thanks for reply
View Replies !
View Related
Fast Forward Through .SWF?
I'm doing a presentation for a company called Halderman ... not like you need to know that, but anyways, and I keep having to play the presentation over and over again to see what I've done - if the audio syncs up correctly and such ... but the presentation is almost 6 minutes long and each time I've got to watch things all the way through just to see something towards the end (if it is working correctly etc.) Is there an easy way I can fast forward while watching the presentation - just so I can see the new changes I just did rather than watch the whole thing through everytime?
Thanks,
Boon.
(could use help on this ASAP please!)
View Replies !
View Related
Fast Forward.
Long time reader, first time poster here.
A quick Flash question. Imported a video, and attempting to make controls for it. Is it possible to use nextFrame to create a fast forward button?
Cheers in advance.
View Replies !
View Related
Fast Forward Button
Hi all,
Here is the problem. I've made an interactive procedure (something technical) with a few movie clips that shows an engineer how to do something.
Each clip runs about 2 minutes (these clips aren't video, they show how to install something on a machine, screenshots with explanations, etc...) and at the button i have a control box with play, pause, rewind, next buttons. However, I need to make a fast forward button so the engineers can get to where they need to in the clip without waiting forever.
Is there a way to make a fast forward button that will either make that particular movie clip run faster (then continue at normal speed when you let go of it) or perhaps to make a button that will jump X number of frames forward in the movie clip whenever it is pressed?
Thanks in advance.
View Replies !
View Related
Fast Forward/Rewind
Flash MX
The buttons and this script are in the main timeline:
**fire is a movie clip within this timeline that houses the sound object, fireSong. revButton and ffButton are instance names for my rewind button and ffButton,respectively.**
Code:
this.onEnterFrame = function () {
if (REV==1 && fireSongPosition>0) {
fire.fireSong.stop();
fireSongPosition=fireSongPosition-.5;
fire.fireSong.start(fireSongPosition,0);
}
revButton.onPress = function () {
REV=1;
fireSongPosition=fire.fireSong.position/1000;
}
revButton.onRelease = function () {
REV=0
}
if (FF==1 && fire.fireSong.position<fire.fireSong.duration) {
fire.fireSong.stop();
fireSongPosition=fireSongPosition+.5;
fire.fireSong.start(fireSongPosition,0);
}
ffButton.onPress = function () {
FF=1;
fireSongPosition=fire.fireSong.position/1000;
}
ffButton.onRelease = function () {
FF=0
}
}
I cant see any problems but the buttons are not rewinding or fast forwarding
[Edited by Sinister67 on 09-14-2002 at 02:02 PM]
View Replies !
View Related
Fast Forward & Rewind
Does anyone know a code to fast forward and rewind the main timeline? I have 4 to 5 minute movies(with scenes, but I can take them out) and I don't care how it rewinds or fast forwards. Whether it be 20 frame jumps, or just reverse scrubbing, anything will do.
View Replies !
View Related
Fast Forward/ Rewind Bar
Hello I have this actionscript below inside the frame of a player. It works lovely but when the player finishes it goes back to the begining when I want it to load another movie. This is being played in an external swf and called from the main swf. The main swf plays a series of movies one after the other but when I use this player (i.e rewind/fastforward) the swf will finish and stop for a while until the frames have caught up. It seems like even though it visually rewindss/ fastforwards) when I get to the end of the movie it will just stop for a while and then go onto the next movie in the sequence. I hope this is description is not too confusing. I would greatly appreciate any help. I am using MX 2004.
Look forward to hearing from anyone!
function setProgressBar() {
var parentLoaded = 170 * _parent._parent._framesloaded / _parent._parent._totalframes;
progressBar._width = parentLoaded;
}
function setDraggerPosition() {
var targetPosition = 170 * _parent._parent._currentframe / _parent._parent._totalframes;
draggerBTN._x = targetPosition;
if (_parent._parent._currentframe == _parent._parent._totalframes) {
_parent._parent.gotoAndStop(1);
_parent.playBTN._visible = true;
}
}
function startDragger() {
gotoAndStop("moveMedia");
var leftLimit = progressBar._x;
var rightLimit = progressBar._width + progressBar._x;
startDrag("draggerBTN", false, leftLimit, progressBar._y, rightLimit, progressBar._y);
}
function stopDragger() {
gotoAndStop("mediaPlaying");
stopDrag();
}
function setMediaFrame() {
var targetFrame = int(draggerBTN._x / 170 * _parent._parent._totalframes) + 1;
_parent._parent.gotoAndStop(targetFrame);
_parent.playBTN._visible = true;
}
View Replies !
View Related
Dear God, Please Fast Forward
I suspect that what I am trying to do is fairly simple. I would like to fast forward and rewind through part of a non-interactive linear animation that I am making.
I would like to do it through a script rather than by actually editing my each keyframe animation beacuse it is a commercial project for a client and I suspect that they will change their mind about which part of the movie to ff and RW and for how long they would like to do so.
I was trying to achieve this by writing a script that would define a variable as currentframe+10 for fast forward or currentframe-10 for rewind. Then feed that variable into some kind of "goto" command.
Problem is, I'm still learning actionscript and I just can't seam to make it happen. Can somebody help me out?
- Thanks
View Replies !
View Related
FLV Fast Forward/rewind
Hey guys,
I'm making a video player that progressively downloads videos. The video player works great, and theres a playhead and all that. I'm trying to add a fast forward and rewind function to the player but am having problems...
As far as I can gather you can't fastforward/rewind to a specific time if it progressively downloads. But I was wondering if there is some sort of clever way of getting around this. Anyone know anything?
I wanted to add some code to the fastforward button that, as long as the button is held down, speeds up the play speed. And vice versa. ns.seek(ns.time+2); was the sort of thing I was aiming at.
Any help, advice or direction would be appreciated,
Thanks in advance.
Steven.
View Replies !
View Related
Fast Forward Button
i have:
Code:
on (press){
_root.mapper.nextFrame();
_root.mapper.nextFrame();
_root.mapper.nextFrame();
_root.mapper.nextFrame();
_root.mapper.play();
}
is there some way i can make it so you can hold down this button and it will reapeat the code above?
View Replies !
View Related
[F8] Fast Forward And Reverse
I am using this code for my ff and rev buttons. I don't like them but its all I have for now. I know there is a better way. If I press the ff button the video needs to advance by 1-2 seconds. If the user press the revers button it need to do the same but move back 1-2 seconds. I am using the FLVPlayer Component so doing ns.seek will not work.
my current code
Code:
//Rewind
rewind_btn.onRelease = function (){
myPlayer.playheadTime = 0;
}
//Forward
forward_btn.onPress = function (){
myPlayer.playheadTime = myPlayer.totalTime-1; }
any help would be appreciated
View Replies !
View Related
Add Rewind And Fast Forward
Can anyone show me how to add Fast Forward and Rewind buttons to the following code? I already have Load, Play and Stop but haven't been successful adding the other two buttons. Thanks in advance for any help.
ActionScript Code:
load_btn.onPress = function() {
loadVideo("IntroofProject1001.swf", holder_mc_1);
loadVideo("31_text_how_to_use.swf", holder_mc_2);
}
stop_btn.onPress = function() {
holder_mc_1.stop();
holder_mc_2.stop();
}
play_btn.onPress = function() {
holder_mc_1.play();
holder_mc_2.play();
}
stop_btn._visible = false;
play_btn._visible = false;
var thisTimeline = this;
function loadVideo(whatVideo, whatMC) {
stop_btn._visible = false;
play_btn._visible = false;
var ref = whatMC;
ref.loadMovie(whatVideo);
thisTimeline.onEnterFrame = function() {
if (ref.getBytesTotal()<20) {
return;
}
if (ref.getBytesLoaded() ==
ref.getBytesTotal()) {
ref.play();
this.onEnterFrame = null;
stop_btn._visible=true;
play_btn._visible=true;
}
};
}
View Replies !
View Related
How To Fast Forward In Flash
Hi well for this animation im doing (Jim Meets an Alien) and when you play it you will notice there is a fast forward sign. I want it to fast forward the animation when held down. Can sum1 tell me the code for it.
Kindest Regards, Yohan
View Replies !
View Related
Fast Forward And Rewind Videos
Does anyone know how to fast forward and rewind videos in MX? They give you the play and stop actions but none for fast forward and rewind. I figure there has to be a way...anyone know of one? Thanks in advance to anyone who responds.
View Replies !
View Related
Fast Forward And Rewind Actions For A MC
I want to create the actions for a Fast Forward and Rewind button for a movie clip in Flash MX. I Know how to create the Play, Stop and Pause actions. I am new to this and can use your help. Also what about a scroll bar that follows the MC and the user can move this as well to go to different parts of the MC. I appreciate any suggestions.
View Replies !
View Related
Fast Forward And Rewind Issues
Below is my code for my fast forward and rewind button for my movie. It doesn't seem to do anything. I am using Flash MX. I was wondering if anyone had any suggestions on what could be preventing the buttons from working.
Thanks for any help!
Kim
CODE
------------------------------------------------------------------
// Stop movie from playing on load
stop();
// Reverse
if (REV == 1 && voiceOverPosition>0) {
_root.voiceOver.stop("voiceOver01");
voiceOverPosition = voiceOverPosition-.5;
_root.voiceOver.start(voiceOverPosition, 0);
}
revButton.onPress = function() {
REV = 1;
voiceOverPosition = _root.voiceOver.position/1000;
//
};
revButton.onRelease = function() {
REV = 0;
};
// Fast Forward
if (FF == 1 && voiceOver.position<voiceOver.duration) {
_root.voiceOver.stop("voiceOver01");
voiceOverPosition = voiceOverPosition+.5;
_root.voiceOver.start(voiceOverPosition, 0);
}
ffButton.onPress = function() {
FF = 1;
voiceOverPosition = _root.voiceOver.position/1000;
};
ffButton.onRelease = function() {
FF = 0;
};
//
------------------------------------------------------------------
View Replies !
View Related
Fast Forward Button For Video
i have a swf with a video in it. in this swf the video has basic controllers, rw, ff, play, pause.
the ff button was going right through the end of the video clip and starting to ff through the beginning of the video again.
to fix this i changed a few gotoandPlays to gotoandStops and now it stops ff'ing when it get to the end of the video.
but...
whats now happening is that i ff to the end and it stops at the end. but then when i release the ff button it skips back to the first frame of my video.
if i drag off the button it doesnt skip forward. i have no idea why it is doing this. can someone please help?
i can upload the files if you want to look at them, just let me know.
here is the code on the ff button.
on (release) {
//Play video Behavior
if(this._parent.iteevid._parent._currentframe == this._parent.iteevid._parent._totalframes){
this._parent.iteevid._parent.gotoAndStop(1);
} else {
this._parent.iteevid._parent.play();
}
}
on (press) {
//FF video Behavior
var videoFF;
videoFF = function () {
if((this._parent.iteevid._parent._currentframe + 5) <= this._parent.iteevid._parent._totalframes){
this._parent.iteevid._parent.gotoAndStop(this._par ent.iteevid._parent._currentframe + 5);
} else {
this._parent.iteevid._parent.gotoAndStop(this._par ent.iteevid._parent._totalframes);
}
}
this.onEnterFrame = function () {
this.videoFF();
}
this.onRelease = function () {
delete this.onEnterFrame;
}
}
cheers.
View Replies !
View Related
Dragable Player Bar To Fast-forward?
can i drop a MC in the maintime line with a Drag command on it so i can control the the main time line?
I am working on a movie that is long and would like to drag a bar to fastforward the movie. The whole thing is on the main time line. Anyway to tell the player bar to fastforward as i drag?
thanks
View Replies !
View Related
Fast Forward Audio Track?
I am trying to get my audio track to fast forward when the button is pressed. It works if I use. start
Code:
forward.onRelease = function() {
mymusic.start(+100);
However I am trying to get it, to fast forward from the current position. I thought this would work but it doesn’t. Any suggestions?
Code:
forward.onRelease = function() {
mymusic.position(+100);
View Replies !
View Related
Faster Fast Forward Button
Okay, quick question. i've created pause/play/ff/rw dock for a news ticker. I created a looping movie clip in the down state of the fast forward button that contains the script:
_root.nextFrame ()
it's just not fast enough...so my question is, how would I make it skip more than to just the next frame but maybe....the next frame + 5?
Thanks.
Thayn
View Replies !
View Related
Fast Forward Control For FLV Player
I've written a simple 'onRelease' function to fast forward the timeline a few seconds, however it doesn't work the way I desire. I would like the timeline to seek and keep seeking forward when the button is depressed/down, and stop when the button is released.
Is there a way to do this? Here's the code I've got so far. ff is the instance of the button:
Code:
ff.onRelease= function() {
ns.seek(ns.time + 4);
}
Thanks!
porpoise
View Replies !
View Related
Fast Forward And Rewind With Two Videos.
I have two imported 2 flash movies onto the stage. I have created a play, pause and stop button that applies to both of them. I want the videos to be synchronized. when I try to make a fast forward and rewind button the videos go out of sync. How would i make a fast forward and rewind button that will keep two videos in sync.
Note: I want the fast forward to stop when one of the videos is complete becase one of them is slightly longer.
Also i would like to know how i can slightly delay a video from starting.
Here's my fla file - http://www.godofgod.co.uk/DV.fla
View Replies !
View Related
Fast Forward Images From XML File
Hi
Im making a dynamic slideshow webcomic to flip trough a number of pages i update frequently, so im using a XML file and I have everything working quite great but i have a question.
I need to have a button that sends the viewer to the very last (or latest page) or the very first page instead of flipping trough the entyre ammount of pages (it would get annoying if there are like 90 pages)
But i dont know how to set those two buttons.
Here is the actionscript im working with
slides_xml = new XML();
slides_xml.onLoad = startSlideShow;
slides_xml.load("slides.xml");
slides_xml.ignoreWhite = true;
//
// Show the first slide and intialize variables
function startSlideShow(success) {
if (success == true) {
rootNode = slides_xml.firstChild;
totalSlides = rootNode.childNodes.length;
firstSlideNode = rootNode.firstChild;
currentSlideNode = firstSlideNode;
currentIndex = 1;
updateSlide(firstSlideNode);
}
}
//
// Updates the current slide with new image and text
function updateSlide(newSlideNode) {
imagePath = newSlideNode.attributes.jpegURL;
slideText = newSlideNode.firstChild.nodeValue;
loadMovie(imagePath, targetClip);
}
//
// Event handler for 'Next slide' button
next_btn.onRelease = function() {
nextSlideNode = currentSlideNode.nextSibling;
if (nextSlideNode == null) {
break;
} else {
currentIndex++;
updateSlide(nextSlideNode);
currentSlideNode = nextSlideNode;
}
};
//
// Event handler for 'Previous slide' button
back_btn.onRelease = function() {
previousSlideNode = currentSlideNode.previousSibling;
if (previousSlideNode == null) {
break;
} else {
currentIndex--;
currentSlideNode = previousSlideNode;
updateSlide(previousSlideNode);
}
};
View Replies !
View Related
Fast Forward And Rewind Buttons
I'm creating a large demo project that uses a module to load my swf demos and currently one of the demo files is too large and needs to be broken up.
My question is, is there anyway to keep the functionality of the fastforward and rewind buttons jumping from section to section if I use different movie clips?
or perhaps a clearer question:
can you have fastforward and rewind buttons work when a swf file is called up with separate movie clips on that swfs main timeline? what code will work to play, fast forward and rewind to play out the actual movie clips on the main timeline instead of playing the main timline?
please help i've been stumped on this for over a week.
View Replies !
View Related
Sound Fast Forward And Rewind
hi guys. I followed this tutorial: http://www.flashkit.com/tutorials/Au...824/more15.php but cannot get it to work. when I test the movie the sound plays over and over again and won't stop. please help me!!!!!!!!!!!!!!!! thanks flashees
Brian2
View Replies !
View Related
Rewind And Fast Forward Buttons
I have a flash file that is basically a slide show that continues to go through the pages(different layers of movie clips - not scenes). I would like to have four buttons on the bottom of the page:
Rewind - negative 48 frames from current frame
Pause - I have this working
Play I have this working
Fast Forward - advance 48 frames from current frame
What is the action script to advance or decrease the frames?
How do I grab the current frame number and add or subtract from it?
I have tried gotoandplay (++48); but get an error and (+48) takes me to the 48th frame.
Thanks
View Replies !
View Related
Fast Forward And Rewind Buttons
I'm creating a large demo project that uses a module to load my swf demos and currently one of the demo files is too large and needs to be broken up.
My question is, is there anyway to keep the functionality of the fastforward and rewind buttons jumping from section to section if I use different movie clips?
or perhaps a clearer question:
can you have fastforward and rewind buttons work when a swf file is called up with separate movie clips on that swfs main timeline? what code will work to play, fast forward and rewind to play out the actual movie clips on the main timeline instead of playing the main timline?
please help i've been stumped on this for over a week.
View Replies !
View Related
[F8] Fast Forward / Rewind Tween Class
Is there a way speed up or rewind an AS2.0 tween class? I used Tween.fforward() and Tween.rewind(), but that doesn't seem to work. Here's an example of what I'm trying to do.
PHP Code:
myTween = function() {
var scrollMovie1 = new mx.transitions.Tween(movieClip_mc, "_y", mx.transitions.easing.None.easeNone, 0, yFinish, speed, true);
speedUp_btn.onPress = function(){
// speed = speed *2;
}
speedUp_btn.onRelease = function(){
// speed = speed / 2;
}
rewind_btn.onPress = function(){
// play backwards
// stops tween when back at beginning
}
rewind_btn.onRelease = function(){
// play forwards
}
}
View Replies !
View Related
NetStream - Rewind/fast Forward Controls?
OK well I've made a video player using XML and netstream to bring in the FLV's - but how on earth would I go about making fast forward/rewind buttons to control it? I've browsed forums for ages but can't find a solution..someone please help!
Thankyou for your time!
View Replies !
View Related
Fast Forward, Rewind Loaded Swfs
Before anyone shoots me, I've looked far and wide in these forums and others to get this to work without success. I've spent days trying components and different scripts from everywhere with no success. This post is my last resort.
The setup:
A main movie.
A movieclip containing controls (demo_controls).
An empty movieclip that will load an external swf (playmc).
What happens:
When the user clicks "Play", a movieclip is loaded using:
Code:
loadMovie("resources/demos/movie.swf", _parent.playmc);
and the demo_controls (previously hidden) appear.
So far, so good.
The user clicks the pause button. The loaded movie stops. The user clicks the play button. The loaded movie starts again. The code for this:
Code:
on (release) {
if (_root.playmc.rdcmndPause == 1) {
_root.playmc.rdcmndResume = 1;
_root.
_root.PlayMode= 0;
} else {
_root.playmc.rdcmndPause = 1;
_root.PlayMode= 1;
}
}
All works well at this point.
What I need to do:
Add a rewind button that will rewind the loaded movie. Note that this is an external swf being loaded. I assume that I first have to figure out the size of the movie before I can do this.
Add a fast forward button that will fast forward the loaded movie.
If possible, add a scrubber that the user can drag to fast forward or rewind the loaded.
Again, I've tried suggested solutions from this message board and many others. I've tried numerous components. Nothing seems to work.
Any help would be really really appreciated. I'm at the end of my rope.
Thanks.
View Replies !
View Related
Rewind/Fast Forward In Animated Comic
I'm creating a comic in flash. The application loads text and audio (for speech bubbles) from a server, while the (comic-) frames are (most likely) animated on the timeline. Thus, I'm dynamically loading data into the precompiled animations.
I need help with how to do navigation through the comic. I need navigation like a VHS-player (pause/play and REV/FF); stepping through the dialogue (speech bubbles) and entire frames.
How would you build this? I'm gratefull for any tips, thoughts or ideas you can share.
This is how far I've got;
Text and speech is downloaded from the server, and stored in "order of appearance" in a PlayList-class for easy access to the rest of the app.
In each frame of the comic we manually place invicible movieclips with known names. These movieclips are used in our code for attaching speech bubbles in the correct place.
The FrameViewer-class (holds and present all frames and make sure to populate them with the appropriate content from the PlayList) is the one that'll also hold the NavigationInterface.
Somehow the FrameViewer or NavigationInterface needs to talk to the Frame(s) to tell them to back up one bubble, or move forward one. How do I do this withouth breaking animations?
View Replies !
View Related
FLVPlayback Rewind & Fast Forward Buttons
Hello gang! You know the Forward and Back buttons in the FLVPlayback component? Well, I really need to develop Fast Forward and Rewind buttons that do not jump you to either the beginning or end of each video. I would like to buttons to function as true Fast Forward and Rewind buttons. I've seen components that you can purchase, but I really don't want to go that route.
Any help would be greatly appreciated. And as always, I thank you for your time and attention.
Kind regards,
Greg
View Replies !
View Related
Sound.position (fast Forward/rewind)
Hello,
I have recently had posts about loadSound......i have got everything working fully now thanks to help from you guys but, i need to fast forward and rewind the external mp3 file, which is not being streamed. I know i need to use mySound.position, but i'm not sure how to code it correctly to enable my sound to fast forward and reverse it to rewind??!!!?
Any ideas anyone?? think it will probably be something like soundPosition = mySound.position +10/1000;
Or something along those lines but i have tried all possible ways i can think of but none work.
Help is greatly appreciated.
Thanks
View Replies !
View Related
Sound Fast Forward Script Not Working
I placed the following code on a one frame movie clip, but it doesn't work. The tutorial that i got it from said to place it on a one frame movie clip that loops. mine does not loop. is that the problem? if so how do i loop it?
I'm a beginner please help.
this.onEnterFrame = function () {
//Reverse
if (REV==1 && myMusicPosition>0) {
_root.myMusic.stop("myMusic01");
myMusicPosition=myMusicPosition-.5; //The .5 is the decremented amount.
_root.myMusic.start(myMusicPosition,0);
}
revButton.onPress = function () {
REV=1;
myMusicPosition=_root.myMusic.position/1000;
//
}
revButton.onRelease = function () {
REV=0
}
//Fast Forward
if (FF==1 && myMusic.position < myMusic.duration) {
_root.myMusic.stop("myMusic01");
myMusicPosition=myMusicPosition+.5;//The .5 is the incremented amount.
_root.myMusic.start(myMusicPosition,0);
}
FFButton.onPress = function () {
FF=1;
myMusicPosition=_root.myMusic.position/1000;
}
FFButton.onRelease = function () {
FF=0
}
//END
}
View Replies !
View Related
|