# \[FMX\] Challenge question

**URL:** https://forum.kirupa.com/t/fmx-challenge-question/33577
**Category:** flash
**Created:** [October 21, 2003, 8:01am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577 "2003-10-21T08:01:52Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![oceans11](https://avatars.discourse-cdn.com/v4/letter/o/a9a28c/32.png) [@oceans11](https://forum.kirupa.com/u/oceans11)
#### Post date: [October 21, 2003, 8:01am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577/1 "2003-10-21T08:01:52Z")

</div>

1. Here is the situation I was trapped into since yesterday:

At \_level0, external movies are loaded through a movieclip using loadMovie(“externalmovie.swf”,“targetmc”);

1. Obtain the external movies’ resolution/dimension (e.g. 800x600 px) using actionscript.

2. Assume the movies have different dimensions and are smaller than or equal to \_level0’s dimensions. If they are smaller, you have to scale up the movie until it reaches the largest size possible, to fit into \_level0’s dimensions. Again, the external movies are loaded using a target mc and not using levels

[COLOR=red]3. Note: Remember that when movies are loaded through target MC, they inherit the properties of that mc, so if the size of the mc is 600x600, the external movie would be so too, even if it were 800x600px . This means that you may not do a direct [AS]MC.\_xscale = 200;[/AS] to it.[/COLOR]

- The \_level0 movie will serve as a master swf where the different external movies will load into, and consecutively play (one at a time), automatically (ergo, without having to manually open and quit and open and quit the movies).

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 8:17am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577/2 "2003-10-21T08:17:26Z")

</div>

isnt it just to scale the external movie clip then?  
or if the external movie has its contents in a mc just \_x an \_y scale it to 800x600

-Dahle

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 8:26am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577/3 "2003-10-21T08:26:26Z")

</div>

Dahle : Hi, thank you for your reply. Kindly refer to the changes in my problem. Thanks very much. Cheers

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 8:34am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577/4 "2003-10-21T08:34:12Z")

</div>

i meant to edit the external .swf  
in that movie make all of the content to an movieclip.  
and in the external .swf on frame one to scale it to what you like  
Cheers

-Dahle

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 8:35am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577/5 "2003-10-21T08:35:57Z")

</div>

i cant try out my theory cause im at work…  
but i think it should work…  
you can always try not to load it to an targetMc

like this "loadMovie(“whatever.swf”,[the level you want it])

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 8:37am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577/6 "2003-10-21T08:37:08Z")

</div>

we can chat @ msn if you have that…  
makes things go faster 🙂

my msn account is : [pixel\_artist@hotmail.com](mailto:pixel_artist@hotmail.com)

cheers!

-Dahle

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 8:38am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577/7 "2003-10-21T08:38:04Z")

</div>

Do I smell homework? 😃

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 8:39am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577/8 "2003-10-21T08:39:44Z")

</div>

hehe 🙂  
i dont claim to be accurate… but i give options…  
and as i said i am at work so i cant test my theories

-Dahle

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 21, 2003, 9:21am UTC](https://forum.kirupa.com/t/fmx-challenge-question/33577/9 "2003-10-21T09:21:13Z")

</div>

well, I’ll give you some tips. try checkingout the getBounds function. I think you’ll find what you need here.  
[http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary523.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary523.html)
