Skip navigation
Currently Being Moderated

Android Tablet has white bands on app

Nov 20, 2012 12:11 AM

Tags: #flash #cs5.5 #android #bands #white #.apk

I've exported an .apk file from Flash CS5.5 to my android tablet (nexus 7) and despite my file being 1280X800 I get unwanted white bands either side of my app in landscape mode. What can I do?

  • Currently Being Moderated
    Nov 20, 2012 12:36 PM   in reply to nepenthev

    Verify the size of the stage by USB debug testing it on the device and tracing the stages dimensions:


    trace('width:' + stage.stageWidth + ' height:' + stage.stageHeight);


    If that reports the correct resolution make sure you're not scaling content. In frame 1 you should specify:


    import flash.display.StageAlign;

    import flash.display.StageScaleMode;


    stage.align = StageAlign.TOP_LEFT;

    stage.scaleMode = StageScaleMode.NO_SCALE;

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points