Playing Timeline Backwards



  • 1. can this be done?
    All right, so, I am a bit new to flash and action scripting and don't quite know what my limits are. I did have an idea though and I would like to get some input before I try... So I was reading up on some ways to disable the "print screen" button within the web browser. Well, all the known methods that I can find involve java script which can be easily disabled. I came to the conclusion that flash would be needed... Then, I had this idea... Is there a way to load an image into flash, and then, using action script, make it so that when a user trys to "print screen" the action script will load in a black box covering the image instantly... So it would work like an image roll over sort of. Can it be done? That way when they try to paste the print screen into paint they just get a black image. You'll notice that if you try to print screen windows media player during a movie, it gives you a black screen... For a completly different reason of course, hardware overlay, but, I think a similar thing can be done in flash. Ideas? Comments? Let me know. :)
  • 2. dynamic MC creating in for loop
    can someone please explain to me how I can create a movieclip, then create n children to the movieclip. In the following code, if i use 'this' instead of a mc id [matrix] then it works, but when i try to createEmptyMovieClip using matrix. the children are overwritten. What I want to acheive is one movie clip with n children that i can move and all its children will move in unison, and another mc that sits in a static position above the moving clip. thanks, Maurice // this code produces 9 clips but on the root level for (var i = 0; i < 9; i++) { var mc = this.createEmptyMovieClip('clip_' + i, getNextHighestDepth()); } // this code produces one clip inside the matrix clip // what i want is 9 clips inside the matrix clip matrix = this.createEmptyMovieClip('matrix', getNextHighestDepth()); for (var i = 0; i < 9; i++) { var mc = matrix.createEmptyMovieClip('clip_' + i, getNextHighestDepth()); }

Playing Timeline Backwards

Postby TweeningPhool » Sun, 02 Oct 2005 23:43:57 GMT

Pretty easy design, I'm sure you have heard this one before.  I have one of my 
forms fade in all of its objects one by one, then i want to be able to click a 
button on the form and have it all fade out in the opposite order it came in.  
Is this possible to do with actionscript?  Boy I hope so.  ^_^

Re: Playing Timeline Backwards

Postby kglad » Sun, 02 Oct 2005 23:51:36 GMT

the code below the dotted line adds a new method (playF) to movieclips that 
lets you direct any movieclip to play from frame m to n (forward or backward) 
at any speed (your computer can handle).

 to use:


 MovieClip.prototype.playF = function(m, n, fps) {
 	function playF2(mc) {
 		if (mc.m<mc.n) {
 		} else {
 		if (mc._currentframe == mc.n) {
 	this.m = m;
 	this.n = n;
 	this.fps = fps;
 	clearInterval(; = setInterval(playF2, 1000/this.fps, this);

Re: Playing Timeline Backwards

Postby TweeningPhool » Mon, 03 Oct 2005 00:44:27 GMT

Wow you freakin rock dude.  Works like a charm.  Boy you just saved me hours and hours of tweening hell,   lol.

Re: Playing Timeline Backwards

Postby kglad » Mon, 03 Oct 2005 00:46:44 GMT

you're welcome.

Similar Threads:

1.on Roll over, play timeline backwards

What do I need to do to a button to make the timeline it is in to play backwards when you roll over the button, but stop when you roll out?  I've been searching the forums, but can't find it. timeline backwards mystery

3.make the timeline play backwards

 I'm creating a scroll bar - and have been searching the internet for a way to 
get the text to scroll 'back up' - in other words - create a button that causes 
the timeline to play backwards 'on(Press)', but to stop playing 'on(Release)'. 
 I found a tutorial on another website and have applied it to my own project, 
but I just can't seem to get it to work! 
 This is the scenario!
 My 'scroll box' is itself a movie clip - and in it I have got my tweened text 
layer, my mask layer, graphics and my 'scroll up' and 'scoll down' buttons - on 
the 'scroll up' button layer I added a controller movie clip with the following 

 Frame 1        stop();
 Frame 2         _root.prevFrame();
 Frame 3        gotoAndPlay(2);

 and i have attached to the 'Scroll up' button the following code:

 on (press) {
 on (release) {

 But at the moment - when I test the movie -I'll scroll down, which works fine 
- but nothing happens at all when I press the 'scroll up' button... please 
help!!! I'm relatively new to flash and am only just beggining to learn 
actionscript, so i'm a bit stuck at the moment!

 Thanks so much!

4.On Press play, On Release play backwards.

Greetings all,

 Im am trying to make a button that when you press and hold it, it will play a 
movie clip from a certin frame ( no problem :) )

 But when you release the button I want it to play backwards untill a certin 
frame. ( here is the problem :( )

 This is what I was paying with:

 on (press) {
 if (_root.valve._currentframe == 20) {
 } else {

 on (release) {
 if (_root.valve._currentframe > 20) {
 } else {


 Can anyone offer some insight?


 -redLetter timeline backwards?

Is this doable?

Is it possible to run the timeline backwards?
So, for example, if I fade-in an image between frames 0-12, can I put some
sort of command that will then run frames 12 to 0 (which would cause the
image to fade out?)

I know I could select frames 0-12 and then paste a copy and reverse them...
but I'm more interested if I can actually tell flash to play backwards.

Just wondering.  I guess I would have heard about this already... if it were


6. Moving Backwards and Forwards in Timeline

7. Play Movie In Timeline But Keep Main Timeline in Place

8. Flash Objects appearing upside down & backwards - not playing either

Return to FLASH


Who is online

Users browsing this forum: No registered users and 84 guest