Skip to main content
CHILL BEAN
Participating Frequently
November 13, 2022
Question

How to set image zoom to scroll in adobe animate

  • November 13, 2022
  • 1 reply
  • 304 views
How to set image zoom to scroll in adobe animate?

 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    November 13, 2022

    you can zoom using the magnifing glass, if you're trying to magnify in the ide,

     

     

    if you're trying to do something else, explain.

     

    in the future, to find the best place to post your message, use the list here, https://community.adobe.com/  

     

    <moved from using the community>

    CHILL BEAN
    Participating Frequently
    November 13, 2022

    i trying to set zoom on mouse scrool

    kglad
    Community Expert
    Community Expert
    November 13, 2022

    because it's not clear exactly what you want, you'll need to encode that, https://www.createjs.com/docs/easeljs/modules/EaselJS.html

     

     

    but this should get you started:

     


    window.addEventListener('wheel', f.bind(this));

     

    function f(e) {
    if(e.deltaY>0){

    //do whatever

    } else {

    // do whatever else

    }

    }