3 Replies Latest reply on Jul 5, 2006 12:47 AM by Sunmag

    Size of Flashpaper

    Sunmag
      Hi,
      When I convert a Microsoft word file into .swf and later publish this with flashplayer, the .swf file turns out with fixed width and height. Could anyone tell me how to resize the flashpaper when you publish this, so I get the size of the document that I want.

      I'm using the following code:
      on (release) {
      _root.unloader();
      gotoAndStop(2);
      _root.PDFTarget.loadMovie("Introduksjon/Endringer.swf");
      }

      I've tried to write something like:
      _root.PDFTarget.resize(400, 700);

      but it doesn't seem to work.

      I've also looked at macromedia's pages, but it did not give any good answers.

      Anyone?

      Best regards, Magnus.
        • 1. Re: Size of Flashpaper
          Level 7
          Sunmag wrote:
          > Hi,
          > When I convert a Microsoft word file into .swf and later publish this with
          > flashplayer, the .swf file turns out with fixed width and height. Could anyone
          > tell me how to resize the flashpaper when you publish this, so I get the size
          > of the document that I want.
          >
          > I'm using the following code:
          > on (release) {
          > _root.unloader();
          > gotoAndStop(2);
          > _root.PDFTarget.loadMovie("Introduksjon/Endringer.swf");
          > }
          >
          > I've tried to write something like:
          > _root.PDFTarget.resize(400, 700);
          >
          > but it doesn't seem to work.
          >
          > I've also looked at macromedia's pages, but it did not give any good answers.
          >
          > Anyone?
          >
          > Best regards, Magnus.
          >


          This is the same answer i'm trying to find out since my last post
          o 18 april but nobody knows and I don't know where to find this
          answer.

          Thanks
          • 2. Re: Size of Flashpaper
            bkice
            Just guessing, but have you tried something like the_target.setSize(400, 700) ? I use this when resizing within a flash application and it works perfectly there, not sure if what you're trying to do fits as well.

            BK
            • 3. Re: Size of Flashpaper
              Sunmag Level 1
              bkice,
              Thanks for your reply.
              I've tried this option, but it still doesn't seem to function as desired.

              Anyone with a solution to this challenge?

              Best regards, Magnus.