A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Resizing loaded movies

  1. #1
    Junior Member
    Join Date
    Apr 2000
    Posts
    4

    Cool

    I'm trying to load movies (swf) of various sizes into one base movie for navigation. Is there any way to scale a loaded movie?


  2. #2
    Senior Moderator
    Defender of the Faith
    Pope de Flash's Avatar
    Join Date
    Feb 2000
    Posts
    3,429

    Cool

    No, if you want things to line up you have to have all the movies the same size. other words they will line up in the top left corrner. Regards, Bill

    ------------------
    Macromedians 1:1

    In the beginning the web was without shape and color, and the hype covered the darkness of the net. Then there was a Flash and life came to the web and vision became reality.

  3. #3
    Senior Member
    Join Date
    Apr 2000
    Location
    Northern Ireland
    Posts
    2,146

    Thumbs down

    You're base movie (_level0) defines a number of attributes for all other movies you load in, and one of these is movie size. If the movie you are loading is not the same size before you load it, it will be after you've loaded it! As far as I know there's nothing you can do about it ...

  4. #4
    Senior Member
    Join Date
    Mar 2000
    Posts
    597

    Post

    There is a way to get control over loaded movie clips.

    Place one movie clip (it should contain everything in the loaded movie)inside the loaded movie. Give the movie an instance name ("movie2scale") and you can target that movie clip inside the loaded movie.

    Although you are not really scaling the loaded movie this has the same effect.

    An example:

    Load Movie ("movie2load.swf", 2)
    Begin Tell Target ("_level2/movie2scale")
    Set Property ("", X Scale) = 50
    End Tell Target

    Hope this helps,

    Rich

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