Forum Topic: rewind

(313 views • 10 replies)

This topic is 1 page long.

<< < > >>
None

Hamster-at-Dawn

Reply To Post Reply & Quote

Posted at: 12/29/05 11:14 AM

Hamster-at-Dawn LIGHT LEVEL 14

Sign-Up: 08/19/05

Posts: 223

i was just wondering if it was possible to play a movie backwards via a rewind button and, if so, how.


None

Kenney

Reply To Post Reply & Quote

Posted at: 12/29/05 11:16 AM

Kenney NEUTRAL LEVEL 17

Sign-Up: 03/16/02

Posts: 2,336

At 12/29/05 11:14 AM, BigShoe wrote: i was just wondering if it was possible to play a movie backwards via a rewind button and, if so, how.

Make a button, when you press it sets a variable to 'true'. When variable = true then:
prevFrame();

Visit my website: Kenney.nl


None

Khao

Reply To Post Reply & Quote

Posted at: 12/29/05 11:18 AM

Khao EVIL LEVEL 19

Sign-Up: 09/20/03

Posts: 2,767

put this in your button
on (press) {
_root.onEnterFrame = function() {
prevFrame();
};
}
on (release, releaseOutside) {
_root.onEnterFrame = null;
play();
}


None

Hamster-at-Dawn

Reply To Post Reply & Quote

Posted at: 12/29/05 11:24 AM

Hamster-at-Dawn LIGHT LEVEL 14

Sign-Up: 08/19/05

Posts: 223

kool
is there any way of making a fast forward button while we're on the topic?


None

Kenney

Reply To Post Reply & Quote

Posted at: 12/29/05 11:27 AM

Kenney NEUTRAL LEVEL 17

Sign-Up: 03/16/02

Posts: 2,336

Put this on a button;

on (press) {
_root.onEnterFrame = function() {
gotoAndPlay(_root._currentframe+2);
};
}

Where '2' is the speed of the fast forward!

Visit my website: Kenney.nl


None

Hamster-at-Dawn

Reply To Post Reply & Quote

Posted at: 12/29/05 11:32 AM

Hamster-at-Dawn LIGHT LEVEL 14

Sign-Up: 08/19/05

Posts: 223

thanks
is there any way to speed up the rewind aswell?


None

Khao

Reply To Post Reply & Quote

Posted at: 12/29/05 11:32 AM

Khao EVIL LEVEL 19

Sign-Up: 09/20/03

Posts: 2,767

At 12/29/05 11:27 AM, Altera wrote: Put this on a button;

on (press) {
_root.onEnterFrame = function() {
gotoAndPlay(_root._currentframe+2);
};
}

Where '2' is the speed of the fast forward!

wrong. that wouldn't stop going fast forwarding when you release the button

on (press) {
_root.onEnterFrame = function() {
gotoAndPlay(_currentframe+2)
};
}
on (release, releaseOutside) {
_root.onEnterFrame = null;
play();
}


None

Khao

Reply To Post Reply & Quote

Posted at: 12/29/05 11:34 AM

Khao EVIL LEVEL 19

Sign-Up: 09/20/03

Posts: 2,767

At 12/29/05 11:32 AM, BigShoe wrote: thanks
is there any way to speed up the rewind aswell?

oh, change prevFrame() by gotoAndStop(_currentframe-2) or -3 -4 what you like


None

Hamster-at-Dawn

Reply To Post Reply & Quote

Posted at: 12/29/05 11:35 AM

Hamster-at-Dawn LIGHT LEVEL 14

Sign-Up: 08/19/05

Posts: 223

At 12/29/05 11:32 AM, Christmas_Khao wrote:
At 12/29/05 11:27 AM, Altera wrote: Put this on a button;

on (press) {
_root.onEnterFrame = function() {
gotoAndPlay(_root._currentframe+2);
};
}

Where '2' is the speed of the fast forward!
wrong. that wouldn't stop going fast forwarding when you release the button

on (press) {
_root.onEnterFrame = function() {
gotoAndPlay(_currentframe+2)
};
}
on (release, releaseOutside) {
_root.onEnterFrame = null;
play();
}

yeah thanks but I already worked out that one myself.
thanks anyways.

...and I'd still like to know how to speed up the rewind


None

D-SuN

Reply To Post Reply & Quote

Posted at: 12/29/05 11:38 AM

D-SuN NEUTRAL LEVEL 14

Sign-Up: 01/04/04

Posts: 128

on (press) {
_root.onEnterFrame = function() {
gotoAndPlay(_currentframe-2)
};
}
on (release, releaseOutside) {
_root.onEnterFrame = null;
play();
}
prehaps this. i havent tested it i jsut copyed the otehr guys code and chaged the _currentframe+2 to -2. - shoudl make it go back.


None

Hamster-at-Dawn

Reply To Post Reply & Quote

Posted at: 12/29/05 11:49 AM

Hamster-at-Dawn LIGHT LEVEL 14

Sign-Up: 08/19/05

Posts: 223

At 12/29/05 11:34 AM, Christmas_Khao wrote:
At 12/29/05 11:32 AM, BigShoe wrote: thanks
is there any way to speed up the rewind aswell?
oh, change prevFrame() by gotoAndStop(_currentframe-2) or -3 -4 what you like

he already said it but I'd used up my 4 replies


All times are Eastern Standard Time (GMT -5) | Current Time: 12:17 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!