Skip to main content
Known Participant
September 22, 2022
Question

Responsive object in Adobe Animate Canvas.

  • September 22, 2022
  • 1 reply
  • 1493 views

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 has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    September 22, 2022

    click file>publish settings and select the options you want

     

     

    Rob_NZAuthor
    Known Participant
    September 22, 2022

    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. 

    kglad
    Community Expert
    Community Expert
    September 22, 2022

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