• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1469
  • Last Modified:

How to resize the swf by LoadMovie

I have a swf and would like to load it in the existing fla file. I have created a movie cilp(temp) which size is set to my desired size for the movie. When the main movie load, the swf is loaded to the movie clip(temp) by using loadMovie.

I found that my swf did not resize as the size of the movie clip(temp). How can I resize the imported swf???  
1 Solution

just resize the movieclip temp as the target of the loadmovie command. maybe...

_root.temp._width = 100
_root.temp._height = 100

or you can use also _xscale or _yscale...

hope this help

ping1234Author Commented:
It works now!! Thanks for your help!

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now