17 Replies Latest reply on Sep 5, 2008 6:44 AM by kglad

    Load and resize a SWF inside a MC

    tatiana1 Level 1
      Hi,

      I'm using AS2 to load an SWF inside an MC. The MC measures 800x600, while the SWF (which can vary in size) measures in this case 14x60, even though, looking at it, it seems to be about half the size of the hosting MC. This makes me think that the dimension scales are different. I'm loading the SWF using MovieClipLoader and I'd like to resize it so that it fits as proportionally snug as possible within the MC. How can I do this? If I try to resize the SWF to the MC's dimensions, it become way too large and goes off screen. If instead I try to rescale the hosting MC to fit around the SWF, the SWF itself rescales as well. I'm going nuts! How can accomplish this?

      Thank you,

      Tatiana