A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Scaling an entire movie...

  1. #1
    Problem: I designed my movie at 800x600. I have large elements that are being tweened large to small and also changing alpha setting. I want to scale the movie down to a 640x480 movie established resolution to increase performance and to minimize the size of the browser window needed (I'm new to flash and I didn't know better... /grin)...



    Question: What can I do? Here's a link, you may have other suggestions for this movie (also note that this file is incomplete).

    http://www.trevorhunt.us



  2. #2
    Flashkit Jedi

    Join Date
    Jul 2001
    Location
    Coruscant System
    Posts
    3,426
    I took a look at your source code (html) and noticed that you are using pixel's instead of precentage to scale your swf on your page.

    If you change the 'width="800" height="600"' part to 'width="100%" height="100%"' you wont need to scale the movie at all.

    XFM

  3. #3
    I had done it that way at one point but if the user resizes their browser window it distorts the movie. I want it to be locked so I know the user is seeing what I indended.

    Thanks for the input though.

  4. #4
    Flashkit Jedi

    Join Date
    Jul 2001
    Location
    Coruscant System
    Posts
    3,426
    Then in the first frame of the movie, you put this code:

    Code:
    fscommand("allowscale", false);
    Now it will not resize the elements within the movie.

    XFM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center