Skip to main content
Known Participant
Sep 22, 2022 11:19 AM UTC
Question

Responsive object in Adobe Animate Canvas.

I have an object that acts as a background image with nested animations that I'd like to be responsive to fit the total width of the viewport if the user resizes the browser window while keeping the width and height aspect ratio.

I presume this would be done with scaleX and scaleY but I'm not sure how to convert to pixel values and how to scale the width and height while keeping the aspect ratio. 

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

    15 replies

    kglad
    Community Expert
    Community Expert
    Sep 22, 2022 1:23 PM UTC

    click file>publish settings and select the options you want

     

     

    Translate
    Rob_NZAuthor
    Known Participant
    Sep 22, 2022 1:29 PM UTC

    Thanks, but that scales everything on the stage. I should have mentioned that I'd like to scale only the background while preserving the dimensions of other objects on the stage. 

    Translate
    kglad
    Community Expert
    Community Expert
    Sep 22, 2022 1:49 PM UTC

    you want to scale the background and then unscale the children of the background?

    Translate