Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » Flash help: Play frames in reverse


Flash help: Play frames in reverse

Reply
  #1 (permalink)  
Old 05-07-04, 12:22 PM
Infinite_Hackers's Avatar
Infinite_Hackers Infinite_Hackers is offline
Coding Addict
 
Join Date: Dec 2003
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Flash help: Play frames in reverse

Hello all,
I was wondering if it is possiable and anyone know how i can play frames in reverse.

I have some.. 20 frames.. and a previous, stop, and next button.
Each time you click the 'next' button, you will be sent to the next frame untill there is a stop(); action, in between that stop action and etc.. there are the effects that are done, fade and etc... so what i want to do is make it so that, if I click the 'previous' button, it automatically plays the frames in reverse untill the next stop(); action (in w/e frame), so it fades out automatically.. get it?

(basically, i just need to play frames in reverse or backwards w/e on click of the previous button.. thanks)


Hope you can help.
Thanks
__________________
New beta project: GFX-PRO.ATH.CX
Description: GFX-PRO a great new project that anyone can and setup in less then a minute. [ More info ]
Website: http://gfx-pro.ath.cx
Status: Online
http://gfx-pro.ath.cx/sig.png
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-08-04, 10:50 AM
Infinite_Hackers's Avatar
Infinite_Hackers Infinite_Hackers is offline
Coding Addict
 
Join Date: Dec 2003
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
*bump*
*BUMP*
Quote:
Originally Posted by Me on another forum
Hey,
iv got some problems with the code you gave me
Code:
onClipEvent (enterFrame) {
with (_parent) {
if (rewind == 1) {
prevFrame();
}
}
}
It gives me this error.
Code:
**Error** Scene=Scene 1, layer=rewinder, frame=1:Line 1: Clip events are permitted only for movie clip instances
     onClipEvent (enterFrame) {

Total ActionScript Errors: 1 	 Reported Errors: 1
Im not expert, or noob (worse) in flash, but what i think it means is that it only works for objects.. and you see that is the problem. I don't want an object to move backwars, i need it to just play frames backwards..

like..
* All bold numbers have a stop(); action *

1,2,3,4,5,6,7,8,9,10
Press previous.. and it plays..
9,8,7,6,5
Press it again it plays...
4,3,2,1

get it?
__________________
New beta project: GFX-PRO.ATH.CX
Description: GFX-PRO a great new project that anyone can and setup in less then a minute. [ More info ]
Website: http://gfx-pro.ath.cx
Status: Online
http://gfx-pro.ath.cx/sig.png
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 08-24-05, 10:05 PM
aliinhan's Avatar
aliinhan aliinhan is offline
Newbie Coder
 
Join Date: Aug 2005
Location: istanbul
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Did you check http://www.webwasp.co.uk/tutorials/b.../backwards.php? Though a bit complicated, it explains how to play backwards.

You might as well try to assign names after and before fades. Depends on your exact need.
__________________
Ali Inhan
Turkish graphic and web designer
an Apple fan
www.aliinhan.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
showing flash or .gif..please help webon Script Requests 0 03-25-04 05:28 PM
javascript object hidden by flash object morlack JavaScript 1 03-09-04 06:36 AM
Fast growing RPG site seeks PHP or Flash programmars lanzer Job Offers & Assistance 7 03-06-04 06:00 PM
Low budget looking for flash work. Doc Job Offers & Assistance 3 01-05-04 08:49 AM
Reaaly stuck about javascript over frames muratisik JavaScript 1 12-14-03 12:58 PM


All times are GMT -5. The time now is 01:27 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.