Flash Video - Playing Backwards
Hi,
Can anybody please tell me how to set the Flash video playing as from the end to the beginning? (Like reversed form.)
Thanks.
Ultrashock Forums > Flash > Flash Professional
Posted on: 2005-01-25
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Playing Flash Video Backwards
Hello, I'm working on a project where the scene is about glass breaking and shortly after, the glass rebuilds itself. There's some significance for this but I won't go into it
To do this, I imported the breaking glass Quicktime file in flash with the necessary alpha channel. The video is quite big already so I would prefer not to encode a second video running backwards (for the rebuilding part). Instead I would like to re-use the same video.
I was wondering if It was possible to play the .flv backwards at the same speed as forward? I see FLVPlayback.rewind is an event, could this or something else be used to achieve this effect?
Many thanks for the help.
Playing Video In Flash Backwards
Hey guys,
How can I get a video file that I've imported into flash, to play backwards?
I want it to play forward on rollOver, which I am able to do. What I can't seem to do is get it to play backwards when I rollOut. I figured I'd have to use a loop and the _currentframe function, but it's not working. Can anyone help me out?
Thanks in advance
Playing An Imported Video Backwards
Hi guys,
I know several topics similar to this one has been posted in the past, I've looked through the previous posts, but none of them have been of much help.
I'm doing a project which has a big tree. I have a video in which the camera moves up the tree when the user rolls over the top of the screen. I also want it to move back down when the user rolls over the bottom. kind of simlilar to semillero (http://www.semillero.net).
I have several videos of the tree moving up, and I want to reverse the videos using actionscript in Flash to to acheive the "moving down" effect.
http://www.jimmyrob.co.uk/etetra/about.html
The above link shows what I have so far - any ideas on how to make the video play backwards would be greatly appreciated!
Playing FLV Video Backwards And Slow?
Hi,
I managed to make a controller that can play embedded-video-SWF's in "slow-motion" (1/2 speed, 1/4 speed) and in reverse at different speeds.
What I'd actually like to do, is something similar, but then with FLV's. I am trying to use the NetStream.pause() as a toggle onEnterFrame, but that doesnt work. Using seek doesn't seem to work either, because it kind of doesn't like non-integers and also for an unknown reason keeps sending the playhead to 4 seconds. (Well, probably some bug of mine, and not the main issue here.)
My main question is if it should be possible to play an FLV at a different speed/reversed, how to do this, and if this should cause performance issues.
(Reverse-playing an SWF is much slower for example)
Thanks!
Problem Playing Video Backwards Using AS 3.0
I have been trying to figure out how to play video backwards using AS 3.0 and I can not figure it out. To give you and example of what I am trying to accomplish visit this link to the Halo 3 (http://halo3.com/believe/shell.html) website. This is a very cool interactive video that allows you to play video forward and backward using the directional pad. I got my movie to play forward using Action Script but I cannot get it to play backwards. Below I have posted my AS. The Red code is what is I am having trouble with and the non red code is where I am have working. Any help I can get would be great.
_video_mc.stop();
function playIt(event:KeyboardEvent):void
{
if (event.keyCode == 39) {
_video_mc.play();
stage.removeEventListener(KeyboardEvent.KEY_DOWN,p layIt);
stage.addEventListener(KeyboardEvent.KEY_UP, stopIt);
}
}
function stopIt(event:KeyboardEvent):void
{
if (event.keyCode == 39) {
_video_mc.stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN,play It);
stage.removeEventListener(KeyboardEvent.KEY_UP,sto pIt);
}
}
stage.addEventListener(KeyboardEvent.KEY_DOWN,play It);
stage.addEventListener(KeyboardEvent.KEY_UP,stopIt );
function backIt(event:KeyboardEvent):void
{
if (event.keyCode == 37) {
trace(_video_mc.playheadTime);
_video_mc.playheadTime = (_video_mc.playheadTime - 0.010);
stage.removeEventListener(KeyboardEvent.KEY_DOWN,b ackIt);
stage.addEventListener(KeyboardEvent.KEY_UP, backStop);
}
}
function backStop(event:KeyboardEvent):void
{
if (event.keyCode == 37) {
_video_mc.stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN,back It);
stage.removeEventListener(KeyboardEvent.KEY_UP,bac kStop);
}
}
stage.addEventListener(KeyboardEvent.KEY_DOWN,back It);
stage.addEventListener(KeyboardEvent.KEY_UP,backSt op);
Playing FLV Video Backwards And Slow?
Hi,
I managed to make a controller that can play embedded-video-SWF's in "slow-motion" (1/2 speed, 1/4 speed) and in reverse at different speeds.
What I'd actually like to do, is something similar, but then with FLV's. I am trying to use the NetStream.pause() as a toggle onEnterFrame, but that doesnt work. Using seek doesn't seem to work either, because it kind of doesn't like non-integers and also for an unknown reason keeps sending the playhead to 4 seconds. (Well, probably some bug of mine, and not the main issue here.)
My main question is if it should be possible to play an FLV at a different speed/reversed, how to do this, and if this should cause performance issues.
(Reverse-playing an SWF is much slower for example)
Thanks!
Embedded Video Performance (playing Backwards)
Howdy all,
I've noticed that when playing video in reverse it's very sluggish, does anyone have any tricks to fix up this performance problem? I've also noticed you can't play video backwards unless it's embedded in the timeline, am I wrong?
Thanks!
Playing Backwards?
Is there a way to script somthing to make it so I can play things backwards? I have an animated slide show going, but only half, you can only click foreward, I was wondering if i could have it play backward when you click the back button.
thanks it would save a bunch of "mouse miles"
[Edited by TheJohn on 06-19-2001 at 01:04 AM]
Playing A MC Backwards?
Hi Guys,
I got the MC running in a clipholder and it's centered.
I got the stop, play, and unload buttons, but what's the script for playing the MC in reverse?
Here's what I'm using:
telltaget ("clipholder")
stop O;}
telltaget ("clipholder")
play O;}
unloadMovieNum (1);
any help is appreciated.
Thanks
Playing Backwards...
I was wondering if its possible tomake a movie kind of play backwards. I know the answer will probably be no, because it just doesn't seem normal. I want to know, because i want to make movies, that when you rollover, it does something, but when you roll off the thing it was doing goes back to the normal state.
I.E. On rollover, a line comes across the screen, and on rollout, the line goes back the way it came. I want to make it so that it goes back from where it came, not from the end of the frame sequence, but back from where it got to. I'm just wondering if this is possible.
I reckon there is some sort of complex actionscript that will make this happen (i don't know though), but could some one tell me if it is possible to "rewind" the movie?
Playing The Mc Backwards?
Heloooo, i am trying to iron out a slight glitch that is making a tweening motion look sketchy.
I have am mc which has a tweening motion, it is am mc which holds my navigation. It is positioned at the edge of the screen in frame 1 and
and is at its fully visible position in frame 15.
attatched to the mci have the following code;
onClipEvent (mouseMove) {
if (_root._xmouse > 0 &&_root._xmouse < 150) {
if (_currentframe < _totalframes) {
play();
}
} else if (_currentframe > 0) {
prevFrame();
showing = false;
}
}
The problem is that the movie (navigation) comes on the screen on rollover but when i move the mouse off the mc (navigation) if you dont move the mouse all the time, it stops on its way back to frame 1; so if say i move the mouse 10 mm away the mc starts to rewind, but if i stop moving the mouse in any direction the movie stops rewinding and wont move again until i move the mouse?
please advise if you can.
The _x and_y coords are the dimensions of the navigation mc, _x150 being the furthest point in its width
Playing Backwards
What I'm trying to do is play the loaded movie backwards from where the playhead is before the new movie loads when a button is pressed.
(can I do this if i'm using load movie to load my sections, or is there another setup?)
Does anyone know how this is done?
Seb
Playing Backwards
can someone help me achieving a backward timeline playing with a on rollOut action? I want my mc (it has a button inside) to play forward with a on rollOver but if i leave the button it must start moving backwards.
needless to say that during the back movement if i step over the button again it must resume the normal playing.
i've achieved almost everything except the backward movement. i'm on this for two days now with no sollution in sight
by the way, i'm trying to achive a "glow" effect activated with the on rollOver.
thx in advance
Playing Backwards <<
Hi I am very new to flash & Action Scripting but can't fathom why this doesn't work.
I have a basic navigation with some drop downs (attached) upon rollover they show more buttons, and because of a hidden button underneath the movie returns to a single button upon rolling over the hidden button.
Simple.
However, I thought it would be easy to change my Rollover state to basically play the frame in reverse until frame 1 so the links seem to unbuild neatly.
I used to code VB (many years ago) and whilst i remember nothing I did retain a tiny amount of logic - or so I thought.
Why doesn't something like this work:
on (rollOver) {
if (this._currentframe = 2) {
stop();
} else {
prevFrame();
}
}
Daft i know. Also looping seems quite hard as there is no Loop command in the index? Or the 'Then' command?
I have seen many scripts that make this work, but I want to understand why it works before I use it otherwise i am not going to get anywhere.
Thanks in advance
Playing Backwards
When the user presses a button, I want the movie to play backwards and when the release the mouse for it to stop. I can not get it to work, I can only make it go back a frame every time the button is pressed. Here's what I have for the code on the button:
on(press){
while(press){
prevFrame();
}
}
on(release){
stop();
}
Playing Backwards
I want to make a simple slideshow gallery with one button that plays and stops on a frame and one that plays backwards and stops on a frame. How can I make a button that will play backwards to a frame?
Playing Backwards
I have a series of images they are two large to turn into a scrolling movie.
what i wanted to do was have a hotspot on either side of the main image area - the right one jumping to the next frame label, and the left one playing backwards from the prev frame label or playing the prev frame set in reverse.
Is this possible with action script - i am using mx
Playing MC Backwards
I'm using flash 8.
I posted in newbies section, and got a response, but way too convoluted.
I'm not a master of AS, but I can limp my way around. I want to be able to play movie clip backwards by placing AS on end frame.
I will use this as a transition from one MC on the main timeline to the next (rather than using scenes) This is for a demonstration presentation, not a website. can anyone help out? Am I making any sense?
silo
Playing Backwards
Hi very simple question.
Can a Movie Clip be played backwards?
Seems an obvious requirement but cant see the syntax
Re Dave
Playing It All Backwards
Okay, so i know how to make the timeline play backwards on rollout in a movie clip, but I am confused as to how to get the whole timeline to play in reverse.
Just say i have two buttons covering my whole stage for the length of my animation. The right button is coded such that on rollover the timeline plays.
I would like to code the left button such that on rollover the timeline plays in reverse.
Please tell me this is actually possible!
Playing Backwards?
Is there something that would enable one to play a movieclip or the main timeline backwards such as frame 10,9,8 other than 1,2,3?
As1 To As2 PLAYING ANY MC BACKWARDS
hi
I got a code from ANDY FOULDS website.
the code is in As1.
what it does: plays a movieclip forward and backwards on any mouse event.
THE CODE IS GIVEN 'AS IS' AND IS USED AT YOUR OWN RISK.
FEEL TO FREE TO USE IT AS YOU LIKE. BE NICE AND LET ME KNOW IF YOU DO :¬)
ANDY_FOULDS.
__________________________________________________ ____________________
A SIMPLE LITTLE PROTOTYPE FOR PLAYING ANY MC BACKWARDS. ONE THAT I
USE IN PRACTICALLY EVER PROJECT I DO...
************************************************** *******************/
movieclip.prototype.back = function() {
this.onEnterFrame = function() {
this.prevFrame();
// DELETES THE ENTERFRAME IF THE CLIP IS AT FRAME 1
if (this._currentframe == 1) {
delete this.onEnterFrame;
}
};
};
//IF USING 'back()' USE THIS INSTEAD OF 'play()' AS WELL
movieclip.prototype.forward = function() {
delete this.onEnterFrame;
this.play();
};
//USAGE == yourMovieclip.back();
//USAGE == yourMovieclip.forward();
//ON A FRAME OR BUTTON OR VIA A SCRIPT.
----------------------------------------------------
BUTTON code:
on(rollOver){
bar_mc.forward();
line_mc.forward()
}
on(rollOut){
bar_mc.back();
line_mc.back()
}
I need to convert this code in As2
Thx in advance
Playing Backwards
is there a script or command that
will make what ever i have on the timeline
play in reverse
Playing Movies Backwards?
Hi there,
does any 1 know how to play movies backwards???????
Easy of the actionscripting, I'm not even a amature on it, but i can understand it...please leave comments...
cheers!
URGENT HELP: Playing A Mc Backwards?
I have a movie clip, and 2 buttons. One tells target to 'play'...... I need the other to reverse this, make the clip play backwards from it's current point. I'm sure this is very basic! I need a solution soon, this needs to be done in 10 hours time.......tick tick tick tick. Cheers
Playing Animations Backwards
I'm doing a video for Ozzie and want to embed some satanic messages... just kidding.
I'm creating an animation for an offline presentation that involves heart monitoring strips. I want the flexibility to move backwards and forwards, sort of like when you move the playhead/time-scrubber back and forth to preview a movie.
I'd like to control the movie with three buttons: play, pause, and play backwards. Play and pause I can handle. Is there an action I can use to play the animation backwards?
cheers,
matt
Playing A Movie Backwards
I have a movie that I need to play forward or backward, depending on what button is pushed. The movie (rough draft) can be seen at http://www.bluewtech.com/KBT/home.htm . You will see why I have to go in 2 directios. Thanks for any help!
Playing An Animation Backwards
is it possible to make flash play frames backwards with the use of a command?
ie. frame 10, 9, 8, 7, 6, 5, 4, 3, 2, 1
Thanks for your help
Playing Timeline Backwards
i have been trying to play a movieclips timeline backwards but i am not
having any luck. one way i figured out is by copying the frames and
pasting them in the same clip and reversing the direction of the frames
, but that takes too much space. So if anyone knows how to do this trick
with actionscript please let me know. i would greatly appreciate
if you could explaine each step, as you can tell i am not an actionscript
pro.
Thanks in Advance
Najib
PLaying Movie Backwards
I am trying to create a vertically scrolling menu, but I can't figure out how to make it scroll back 5 frames without doing it incrementally. How can I move the MC back 5 frames where it plays each frame individually?
Playing Movie Backwards
Hello. This is my first time on the flash forum. I'm a recent college grad doing my first proffessional site. I need help with playing my transitional movies backwards for the 'return effect' after the "home" button is pressed. How do I accomplish this?
thanks,
Sketchball
Playing A Movie Backwards
Hi can you get flash to play in reverse, I have a movieclip that I want to move laterally across the screen using the keyboard arrow keys...so was going to tween it in one direction then use actionscript to reverse its direction of play so the user can move the mc...............any help much appreciated!!!!!!
Playing MC Backwards & Forwards
Let's say I've got a 50 frame long movieclip in level 2 and it is basically a movie which has stop-positions every tenth frame. Then I got my main movie in level 0 with 6 buttons. Now, depending on which button I press in level 0, my movie in level 2 should start playing. In fact when level 2 is stopped at frame 1 and I press the 2nd button in level 0, level 2 should start playing forward until it is at frame 10 and stop right there. But also, when level 2 is at frame 50 and I press the second button in level 0, level 2 should play backwards until it reaches frame 10 at stop again.
So frame 1 in level 2 must be reached by pressing button 1 in level 0;
frame 10 in level 2 must be reached by pressing button 2 in level 0;
frame 20 in level 2 must be reached by pressing button 3 in level 0; and so on...
This seems kind of difficult because sometimes the movie has to stop at a certain frame another time it has to pass it, and all that with the forwards and backwards ability.
Does someone know how to control something like this?
Playing A Mc Backwards (with A Little Extra)
Hi guys,
I hope u can really help me out with this!
I've made an animatiom that consists out of 30 images and converted it to a movieclip.
It's a kind of rollbar with boxes on it which is in a loop, it moves excactly 1 box to the right in those 30 frames!
So basicly i need a forward and backward function.
I don't need to control it in realtime, but only at the begin and end stop.
So i need it to play from frame 1 to 30 if i press forward, and when i press backwards it needs to go from 30 to 1!
Can anyone help me please its kinda important and i dont have much time left
thanks in advance m8s
Playing MovieClip Backwards
ok guys, I'm lost.
I sooo suck at Flash
I have a menu im making. When you rollover one of the links, I have a movieclip I want to open. At the end or whatever point you rollout of the link, I want the clip to play backwards till the start of the clip.
I only know how to go fowards. prevFrame only worked a frame at a time, of course. I am just gonna post the FLA and if anyone would be so kind to either show me the code or trick out the FLA with it and post it back, I would be most appreciative. I have always loved the help on this site...top notch.
Take care!
And thanks in advance!
Two Versions Of Playing MC Backwards
I have made two versions to make an MC play backwards and fowards.
Version 1:
Code:
mc1.onEnterFrame = function() {
anim == true ? this.nextFrame() : this.prevFrame();
};
btn1.onRollOver = function() {
anim = true;
};
btn1.onRollOut = function() {
anim = false;
};
Version 2:
Code:
on (rollOver) {
onEnterFrame = function() {
_root.mc2.nextFrame();
}
}
on (rollOut) {
onEnterFrame = function() {
_root.mc2.prevFrame();
}
}
Now, i've tested both of these versions in the same movie in order to see if there is indeed a difference in the performance, but my thoughts are that there are no differences.
I would like for my file to be seen and have some comments on whether or not you see a difference.
thanks
Playing The Timeline Backwards?
Hello all!
I've created a scroll box in flash by masking a tweened text layer...it is controlled by two buttons - 'up' and 'down'
Getting the text to scroll down smoothly was not a problem - I just used the following code
on (press) {
play();
}
on (release) {
stop ();}
But I cannot get it to scroll back up smoothly - at the moment I've got
on (press){
PrevFrame();
}
which means that the user has to continually click the up button - which is a bit frustrating!
Soooo...I need to somehow get the timeline to play backwards continuously...so when the user clicks and holds the 'up' button it scrolls smoothly....anyone got any ideas...? Would be greatly appreciated!!!
Thanks
jo xx
Help With Playing MC Forwards & Backwards
I have not used Flash or worked with actionscript for almost a year so I'm a bit rusty. I am trying to get 3 movieclips to trigger corresponding MCs below them to play forwards while hittest is true but stop and play bacwards once hittest is no longer true. All 3 MCs that trigger the 2nd group of MCs have their alpha set to "0" so the viewer won't even be aware of them.
My code works fine playing the MCs forwards but my code to stop & reverse the timeline isn't working.
I appreciate any help.
My code is as follows and my file is here:
PHP Code:
_root.onEnterFrame = function() {
highlightSection(blueHotArea_mc, blueFade_mc);
highlightSection(redButton_mc, redFade_mc);
highlightSection(greenButton_mc, greenFade_mc);
};
function highlightSection(mc1:MovieClip, mc2:MovieClip) {
if (mc1.hitTest(_xmouse, _ymouse, true)) {
mc2.play();
if (mc2._currentframe == mc2._totalframes) {
mc2.stop();
}
} else if (mc2._currentframe>0) {
mc2.stop();
mc2.gotoAndStop(_currentframe-1);
}
}
Problems Playing Backwards
Hey there, first off, thanks for reading my thread!
Ok, here's my problem... I have movie clip with an instance name 'image' in my main timeline that when my main movie starts playing, it basically plays the clip, just like any normal clip does with a stop frame at the end. The clip is about 30 frames long (don't think that matters).
Anyway, here's the problem. Also on the main timeline, I have an invisible button. What I want this button to do is; when you roll over it, I want it to reference 'image' and from the 30th frame (or the last frame) play it backwards to the start.
Is this possible? PLEASE help Thanks!
Movie Playing Backwards And More..
Hi there..
I've been trying to come out with something but i can't seem to spill out any progress in this.
I have an empty movie clip which is loaded with main.swf
When i click on a btn ( in menu ), the movie will play backwards till frame 1 and unload then load a new swf.
This would go the same with my other btns in the menu...
HELP!
Thanks.
Playing A Movie Backwards
Hi,
I'm working on a flash movie. It is of some testimonials that the user clicks next or previous to transition through them. When pressing next its fine since the text fades out as the next text fades in. But i want to replicate this for clicking previous, ie, instead of the button jumping to the set frame, i want it to play the few frames backwards to the faded in state. Does this make sense?? I'd really appreciate the help on this.
Thanks
Beamond
Playing Frames Backwards W/as
I'm making a new section tto my site and I'm adding a 3d object that rotates 1 way when you prees DOWN and the opposite when you press UP. I was made in Swift, so it is in frames. Basicly I want it so when the user presses down, it will play the frames normaly until it reaches a stop(); command and when down is pressed, it'll play the frame backward until it reaches a stop(); command.
Playing Movie Backwards
Ok so i'm using this code to play the timeline backwards when a button is clicked:
On the 1st frame:
Code:
MovieClip.prototype.playBackwards = function(){
this.stop();
this.onEnterFrame = function(){
this.prevFrame();
if(this._currentframe == 1){
delete this.onEnterFrame;
}
}
}
On the button:
Code:
on(release){
this.playBackwards();
}
Ok so it works fine, just how I want, EXCEPT I want it to play backwards until and stop when I tell it do. I have stop actions but it seems to just go streight past them without stoping. WTF!! Why? Is there somethin else I need to add? It just plays backwards right to the start of the timeline...
Help please, I need this answered ASAP
Playing Backwards Through Frames
I'm having a bit of a problem with getting the timeline to play backwards through frames. I've tried doing something like the following and thought it should've worked but it didn't, and I need some help with this plz:
function onEnterFrame() {
gotoAndPlay(lastframe);
lastframe = _currentframe--;
}
Thanks
Movie Playing Backwards And More..
Hi there..
I've been trying to come out with something but i can't seem to spill out any progress in this.
I have an empty movie clip which is loaded with main.swf
When i click on a btn ( in menu ), the movie will play backwards till frame 1 and unload then load a new swf.
This would go the same with my other btns in the menu...
HELP!
Thanks.
Playing A Movie Backwards
Hi,
I'm working on a flash movie. It is of some testimonials that the user clicks next or previous to transition through them. When pressing next its fine since the text fades out as the next text fades in. But i want to replicate this for clicking previous, ie, instead of the button jumping to the set frame, i want it to play the few frames backwards to the faded in state. Does this make sense?? I'd really appreciate the help on this.
Thanks
Beamond
Playing Through The Timeline Backwards
hello
i want to press the left arrow key on my keyboard and a movieclip on stage to play backwards through its timeline and then loop when it gets to the end.
i want to also be able to press the right arrow key and it plays forwards through its timeline.
I want it to be only while the key is pressed
any ideas how to do this in AS2 ??
thanks in advance
|