?
Solved

How to resize the swf by LoadMovie

Posted on 2003-03-18
2
Medium Priority
?
1,453 Views
Last Modified: 2007-12-19
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???  
0
Comment
Question by:ping1234
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
rexmor earned 200 total points
ID: 8157780
hi,

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


rex
0
 

Author Comment

by:ping1234
ID: 8157860
It works now!! Thanks for your help!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question