To fix this issue, I just added width and height properties at the SWF directive in the main file:
[SWF(frameRate="60", backgroundColor="#000", width="480", height="800")]
public class Starling_walking_guy extends Sprite
That's all. the viewPort was fixed and the content now is centered.
UPDATE: So, it was necessary to add the two first lines in the Class constructor, I mean, Starling_walking_guy class:
UPDATE: So, it was necessary to add the two first lines in the Class constructor, I mean, Starling_walking_guy class:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
