Skip to main content
Martgast
Participant
June 6, 2017
Answered

Align to stage after changing canvas size

  • June 6, 2017
  • 1 reply
  • 2097 views

So I've made my work in a 336x380 canvas. When I use align to stage it works perfectly. But if I change the canvas to, for example, 728x90 it won't work properly. If I use align to stage it doesn't center with the canvas. Is there a way to fix this?

    This topic has been closed for replies.
    Correct answer just.emma

    I'm trying to align in a symbol, this should work the same right?


    No, that's your issue.  If you try to align within a symbol, it will be aligning based on the size of the symbol, not the size of the main stage.

    If you need to align things to the main stage from inside a symbol, a trick would be to create a rectangle the size of your stage, make it a guide layer inside your symbol, and align your objects to that.

    Otherwise, you could just keep always the items in your symbol at the 0 x  and y positions, and align to the stage via the main timeline instead.

    1 reply

    Legend
    June 6, 2017

    I just tested this and it worked fine.

    How, EXACTLY, are you changing the canvas size?

    Martgast
    MartgastAuthor
    Participant
    June 7, 2017

    First, thanks for your reply.

    I work in a HTML5 canvas. Under properties there is size: W: 336 H: 280. When I change the numbers to say: W: 728 H: 90 and align to the middle of the canvas, it doesn't go to the middle. Maybe I have a setting wrong or something, because I can't find the problem online.

    Legend
    June 7, 2017

    How, EXACTLY, are you attempting to align something to the middle of the canvas?