3 Replies Latest reply on Feb 12, 2010 8:37 AM by Randy Troppmann

    ScaleMode ignored?

    Randy Troppmann Level 2

      Using Sprint 9, I am no getting MediaPlayerMode.ScaleMode to work. If I set up the player with the code below, a sample video that is actually 320x240 does not scale. It just appears as it's actual size in the top left corner.


      media = new MediaPlayerSprite();

      media.width = 640;

      media.height = 360;

      media.scaleMode = ScaleMode.LETTERBOX;

      media.mediaElement = new VideoElement(new NetLoader(), new URLResource(new URL(url)));
      - Randy Troppmann