First of all pls check out “Attach File”…
ok… so the question is: How can I make this kind of cube motion in ActionScript?.. If it is possible… will it be more smooth in AS or normal “shape tween”? And which one will have more KB?
thanx a lot…
First of all pls check out “Attach File”…
ok… so the question is: How can I make this kind of cube motion in ActionScript?.. If it is possible… will it be more smooth in AS or normal “shape tween”? And which one will have more KB?
thanx a lot…
yes, it is possible
first you have to turn your cube (the small one)
into a movie clip.
then you will have to write some AS on it:
onClipEvent(load){
largeScale = 1000;//you can change these variable values
speed = 99;
}
onClipEvent(enterFrame){
if(_xscale >= largeScale){
_yscale = _xscale = largeScale;
this.onEnterFrame = null;}
_xscale = _yscale = _xscale+speed;
}
:: Copyright KIRUPA 2024 //--