PDA

View Full Version : stage size is not the same in smartphone



webmaven
5 Oct 2011, 6:04 PM
I have my stage set to 320x416 and when I look at the animation on an iPhone the width and height are large then the stage that I set. I have the ability to scroll left, right, up and down. This might be a zoom issue but I don't thinks. here is the URL http://www.newarkmuseum.org/tibet_mobile/

For example if you rotate the iPhone the start screen should go back to center.

Any ideas?

Raymond

arnebech
5 Oct 2011, 8:54 PM
Sounds like some of your issue could be fixed with a modified viewport meta tag.

Try


<meta name="viewport" content="width = device-width, user-scalable = no">



Here is some info from apple on their use of meta viewport
http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html