hi there,
i want to be able to ease the frame rate of a movie and am not sure how to go about it.
thought about using setInterval() but am unsure how i would code it.
heres what i have currently…
on each frame (60 in total)
stop();
frame = 1;
each frame has a label eg: f1,f2,f3,f4,f5…f58,f59,f60
then on a mc button i have this code
onClipEvent (load) {
this.onRollOver = function() {
this.onEnterFrame = function() {
_parent.frame == 1 ? _parent.frame=61 : '';
_parent.frame -= 1;
trace(_parent.frame);
num = _parent.frame;
_parent.gotoAndStop("f"+_parent.frame);
};
};
this.onRollOut = function() {
delete this.onEnterFrame;
};
this.onDragOut = function() {
delete this.onEnterFrame;
};
}
anyone got an idea?
not exactly sure what youre asking
but
i think wha youre asking is… care to elaborate?
hi there,
i want to be able to ease the frame rate of a movie and am not sure how to go about it.
thought about using setInterval() but am unsure how i would code it.
heres what i have currently…
on each frame (60 in total)
stop();
frame = 1;
each frame has a label eg: f1,f2,f3,f4,f5…f58,f59,f60
then on a mc button i have this code
onClipEvent (load) {
this.onRollOver = function() {
this.onEnterFrame = function() {
_parent.frame == 1 ? _parent.frame=61 : '';
_parent.frame -= 1;
trace(_parent.frame);
num = _parent.frame;
_parent.gotoAndStop("f"+_parent.frame);
};
};
this.onRollOut = function() {
delete this.onEnterFrame;
};
this.onDragOut = function() {
delete this.onEnterFrame;
};
}
anyone got an idea?
rhamej
7
Threads merged, please dont cross post 
that was a dead link i think nathan. i got this message “No Thread specified. If you followed a valid link, please notify the administrator”
sorry rhamej not sure how i managed to post in here twice :puzzled:
any chance of a mx or mx2004 version TC?
There’s a huge chance, although I’m not sure if it’s what you want so if it’s not just say so and I’ll redo it 
Could be…
but sadly ‘onMotionChanged’ didnt work with mx2004.
Was having issues trying to upload last night but it seems to be working fine today… so aaaahhh
here is a test which im hoping to ease
http://www.geocities.com/bootiteq/framesnoease2.swf (4kb)
here is the source
http://www.geocities.com/bootiteq/framesnoease2.swf (74kb)
i am hoping to get some easing happening when you rollOut of the buttons.
eg: 20 fps down to 0 fps. I dont care at this stage if its linear easing.
it will be for a sequence of images which are more or less like a looping animation.