Hello everyone,
I have a movieclip that i'm trying to center on stage and that's working but I'd like to add some easing to it.
Can someone pleaseeee check out my attached file and help?
:)
Printable View
Hello everyone,
I have a movieclip that i'm trying to center on stage and that's working but I'd like to add some easing to it.
Can someone pleaseeee check out my attached file and help?
:)
You mean that the mc in moving into the film?
when the movieclip centers itself after resizing the stage, i'd like it to ease to the center. right now it just snaps to center.
Something like this? I changed the code below and the square moves into the scene.
----------
// initiate postitions and scaling values for objects
fluid._y = -40;
fluid._x = Stage.height/2;
fluid.onEnterFrame = function(){
if (this._y==70){
this._y=70;
}else{
this._y+=1;
}
}
-----------
i mean when you grab the edge of the flash movie and scale it, the box should move back to the center of the stage, but ease to the center not snap. like a delayed reaction before the move.
Do asearch in your flash help file for "Tween class" this will do what you are asking.
what i'm looking for is the same effect on gskinner.com.