Skip to main content
Sharpe D
Known Participant
Jan 31, 2023 1:59 PM UTC
Question

Basic animation example of position move using Javascript function not timeline

 

Looking for basic postion animation example using Javascript function not timeline.

 

So like x to x+200 with a smooth animation.

 

 

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    kglad
    Community Expert
    Community Expert
    Jan 31, 2023 2:03 PM UTC
    createjs.Tween.get(this.mc).to({x:this.mc.x+200}, 300); 
    Translate
    Community Expert
    Feb 1, 2023 3:00 PM UTC

    This is good. I am going to be using this. 

    Translate