8 Replies Latest reply: Apr 23, 2011 6:37 PM by barpos RSS

    Calling user-defined functions

    barpos Community Member

      Hi,

       

      I don't understand why within my function, initially the status of stage.scaleMode via a trace() is NO_SCALE, then it becomes SHOW_ALL.  The code below is found at three different location in my overall code.

       

          stage.scaleMode = StageScaleMode.NO_SCALE;
          backgroundPositioning(myStage.stageWidth, myStage.stageHeight);
          stage.scaleMode = StageScaleMode.SHOW_ALL;

       

      Any idea why?

       

      Regards,

       

      Ron