0 Replies Latest reply on Nov 26, 2009 3:19 AM by Videostudio

    [Flash CS4] ActionScript 2.0 fullscreen



      i have a urgent question.


      I have a video with a full screen button I connected to this code:

      import flash.geom.Rectangle
      function schermoIntero(){
         var area:Rectangle = new Rectangle(player._x, player._y, player._width, player._height);
         Stage["fullScreenSourceRect"] = area;
           Stage.displayState = "fullscreen";


      works so


      If im setting my executable flash movie of fullscreen whit this AS:

      fscommand("fullscreen", true);


      button to full screen video does not work, why?
      how can I solve?