Quantcast
Channel: Adobe Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 290743

FB 4.7 Mobile

$
0
0

I am currently using FB 4.7 with AIR 3.4 and 3.5 (both tested). (just starting with FB4.7 moving from 4.6)

 

When I run the application or AIR Simulator, iOS Simulator and android device, the app Y position does not start on 0.

It reports it on 0 (in the trace) but the app is several pixels below.

 

Here is a screen shot of a text field at 0,0

 

Screen Shot 2013-01-07 at 4.51.22 PM.png

 

code is simple:

 

package

{

    import flash.display.Sprite;

    import flash.display.StageAspectRatio;

    import flash.events.Event;

    import flash.system.Capabilities;

    import flash.text.TextField;

    import flash.text.TextFormat;

   

    public class SimulationTest extends Sprite

    {

        public function SimulationTest()

        {

            super();

           

          

            var appInfo:String = String(stage.fullScreenWidth + " , " + flash.system.Capabilities.screenResolutionX);// flash.system.Capabilities.version;

            trace(appInfo);

            trace(this.x + " , " + this.y);

           

         

               

            var text:TextField = new TextField();

            text.x = 0;

            text.width = 100;

            text.y = 0;

            var tf:TextFormat = text.defaultTextFormat;

            tf.size = 24;

            text.defaultTextFormat = tf;

            text.text =  appInfo;

            addChild(text);

           

          

        }

    }

}

 

I tried adding a sprite or a movieclip at 0,0 and same result.

I also tried with <fullScreen> true and false

and also <requestedDisplayResolution> high and standard.

 

Anything else I might be doing wrong?


Viewing all articles
Browse latest Browse all 290743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>