4 Replies Latest reply on Jan 23, 2013 12:44 PM by Flex harUI

    Objects not scaling

    JBonavita Level 1


      I have an AS3 app that I put into a library which I'm referencing from a new Flex Mobile app. When I call one of the classes (which used to be the made class in the AS3 project), the background image scales but nothing else does,

      It seems that anything that is tweened doesn't get scaled at all. If anything it seems that they're even larger than they should be.


      In the old main class I have stage.scaleMode = StageScaleMode.SHOW_ALL; getting called in the addedToStage event.


      The app works fine as a standalone but not when it's trying to be added here.


      This is the code I'm using to call it.


      var game:MyGame = new MyGame();
      var container:UIComponent = new UIComponent();
      this.actionBarVisible = false;


      I've tried everything I can think of.


      I am using greensock plugin for the tweening. I don't know if that matters at all.


      Thanks for any help.