dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: loadMovie -> set dimensions ??

  1. #1

    loadMovie -> set dimensions ??

    Does somebody know if this is possible...

    I have a main <Movie A> which loads a <Movie B> with dynamic JPG's.
    The main Movie A size scales to the visitors browser. But I like to leave the dimensions of Movie B at it's original size so the quality of the loaded JPG's stays perfect.

    Is this possible in Flash ?

    Thanks for help,

    Yvan

  2. #2
    Live And Let Live All sutar's Avatar
    Join Date
    Mar 2002
    Posts
    202
    Hi,

    You have to get the value of the stage size Stage._width and height, and then assign the the size of the MC in which you are loading the jpg in the proportionate to the stage.

    This will resize the jpg as proportionate to the stage.
    thus help to resizing the jpg.

    I thinks this will help you out.

    ______________________________________________


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