mercredi 8 mars 2017

convert simple rotation code AS2 to AS3

A flash-file was send to me with some animation in it. The client asked if I could just adjust a couple of images in the animation. But with the update to Animate CC, AS2 is no longer supported, so the animation doesn't work anymore. Since I'm not to familiar with AS2 or AS3, could someone please help so this works in AS3?

Thanks!

Hi all,

A flash-file was send to me with some animation in it. The client asked if I could just adjust a couple of images in the animation. But with the update to Animate CC, AS2 is no longer supported, so the animation doesn't work anymore. Since I'm not to familiar with AS2 or AS3, could someone please help so this works in AS3?

Thanks!

this.onEnterFrame = function () {
        this._rotation += 1.99 ;
        this._y += (30-this._y)*.05
}

Aucun commentaire:

Enregistrer un commentaire