Groups | Blog | Home
all groups > flash actionscript > july 2004 >

flash actionscript : Re: fast forward & rewind


~X~
7/24/2004 9:48:07 AM
[quoted text, click to view]

on (release) {
here = _540;
max = _2709;
jump = (max/_20);
if (here+jump<max){
gotoAndPlay(here+jump);
}else{
gotoAndPlay(max);
}
}

it doesn't work.

I am quite green in flash coding, what is wrong with above
~X~
7/25/2004 3:07:29 PM
[quoted text, click to view]


[quoted text, click to view]

on (press) {
here = 600;
max = 2755;
jump = Math.round(max/15);
if (here+jump<max){
gotoAndPlay(here+jump);
}else{
gotoAndPlay(max);
}
}

It works now, tnx for your help :-)

the annoying thing with this kind of "fast forward" is that _current
frame variable ("here") is static, so every time playhead jumps
forward from
the same frame (600 in my case) to exact same frame...
I don't see why's that.

any ideas how to fix this, please.
IwannaFlashU perhaps? :)

please.

AddThis Social Bookmark Button