View Full Version : Newbie Question - How to display an animation at 100%

4 Apr 2012, 7:11 PM
Since the stage / document is created at specific pixel dimension how can the animation be scaled to 100% where it is placed to fill the screen.

I'm worked about the resolution difference between iPad 2/3 without creating two versions of the animation at different sizes.

At the moment I am playing around with including the animation through an IFrame and setting the viewport... surely this is not the correct way to do this??

5 Apr 2012, 8:38 AM
You can use -webkit-transform property to scale the animations/iframes if you need to.
If it dimensions are fixed, you can manually adjust the scale by adding some css scaling e.g.
"-webkit-transform: scale3d(1.5, 1.5, 1);"
to the css for the animation/iframe.

Here is a thread about a similar topic