0 Replies Latest reply on May 7, 2007 4:57 AM by masterfantaster

    Flash Player 8 and Flash Player 9 difference

    masterfantaster
      Hi!

      I want to make a movie clip with a symbol which has a 100% width and 90pixels height.

      The following script works perfectly in all flash players <8.0 but doesn't work in flash player 9:


      lol - symbol, rectangle


      Stage.align = "TL";
      lol._width = Stage.width
      lol._height=90

      sizeListener = new Object();
      sizeListener.onResize = function()
      {
      lol._width = Stage.width;
      lol._height=90
      };
      Stage.addListener(sizeListener);


      THX!