-
1. Re: centering a composition for iPad
bittamer Oct 1, 2012 5:24 AM (in response to resdesign)Given your stage is 550 x 400 pixels, you could give the stage the following css:
#Stage{
left: 50%;
margin-left: -275px;
margin-top: -200px;
position: absolute !important;
top: 50%;
}
-
2. Re: centering a composition for iPad
zsolemolina Oct 1, 2012 8:50 AM (in response to resdesign)Hi Resdesign, may be this video can help u: http://www.youtube.com/watch?v=ZbW1DTX7K-E
-
3. Re: centering a composition for iPad
Jerry Witt Oct 1, 2012 9:45 AM (in response to resdesign)Hi Resdesign,
I think the most direct way would be to do a small edit to the html. You can add a bit of css to the Stage ID and it should center. I did this:
Opened the filename.html from the collected files.
Find the line that starts with div id="Stage" it should look like:
<div id="Stage" class="EDGE-#######">;
change that to:
<div id="Stage" class="EDGE-#######" style="margin:0px auto">;
That centers it horizontally.
If you want to center it horizontally and vertically, I believe bittamer's solution is best.
-
4. Re: centering a composition for iPad
resdesign Oct 9, 2012 9:12 AM (in response to Jerry Witt)OK. Your solution
<div id="Stage" class="EDGE-#######" style="margin:0px auto">;
actually works. I am not sure what happened when I checked it first. It is centered but I still have too much background around. Still trying to deal with it.
Now there is a great blog from Chris Gannon about the iPad that is a good tip: Detecting and Responding to iPad Orientation Change in Adobe Edge Animate
-
5. Re: centering a composition for iPad
Jerry Witt Oct 9, 2012 9:40 AM (in response to resdesign)Hi, if the Edge stage is a fixed width it will get a margin depending on the screen resolution. Could this be an issue of a 500 pixel stage on a Retina-resolutiuon iPad?
Is your page live somewhere resdesign? I wonder if anyone has come up with a doubling solution for Edge Animations on a Retina display.



