# Loading a swf into a movieclip inside another movieclip

**URL:** https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266
**Category:** flash
**Created:** [June 24, 2008, 3:09pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266 "2008-06-24T15:09:29Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![tomsvhere](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@tomsvhere](https://forum.kirupa.com/u/tomsvhere)
#### Post date: [June 24, 2008, 3:09pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/1 "2008-06-24T15:09:29Z")

</div>

Hi, i am having a main.swf which has a movieclip in the form of a window. it’s instance name is window\_mc. this window has an empty movieclip called load\_mc and i am trying to load another swf called login.swf into window\_mc.load\_mc using

window\_mc.load\_mc.loadMovie(“login.swf”);

both main and login swfs are having resolution 1000x780… but wen it is loaded as said above, the texts inside the loaded swf looks very large. the resolution looks as if they are different… please help me on this… i haven’t tried loading movieclips much. but wen i load a swf into an empty movieclip, it wrks perfectly fine…

---

<div class="post-metadata">

### Author: ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)
#### Post date: [June 24, 2008, 3:40pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/2 "2008-06-24T15:40:34Z")

</div>

is the text dynamic?

---

<div class="post-metadata">

### Author: ![tomsvhere](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@tomsvhere](https://forum.kirupa.com/u/tomsvhere)
#### Post date: [June 24, 2008, 4:02pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/3 "2008-06-24T16:02:49Z")

</div>

> [@randomagain;2348323](#):
>
> is the text dynamic?

there are both dynamic and static texts… it’s not text alone…the whole swf seems large…

---

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [June 24, 2008, 4:04pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/4 "2008-06-24T16:04:41Z")

</div>

Did you check the stage size of both swfs?

\*Caveat: it’s been a long time since I’ve worked with flash so I don’t even know if thats an issue anymore but that was something to pay attention to in the old versions.

[edit]I should just make that above statement my signature![/edit] 😛

---

<div class="post-metadata">

### Author: ![tomsvhere](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@tomsvhere](https://forum.kirupa.com/u/tomsvhere)
#### Post date: [June 24, 2008, 5:12pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/5 "2008-06-24T17:12:24Z")

</div>

ya, the stage size of both the swfs are the same… anyway to correct the prblm? am so much frustrated.i can’t carry on with my idea unless this wrk correctly…:crying:

---

<div class="post-metadata">

### Author: ![tank7700](https://avatars.discourse-cdn.com/v4/letter/t/e47774/32.png) [@tank7700](https://forum.kirupa.com/u/tank7700)
#### Post date: [June 24, 2008, 5:19pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/6 "2008-06-24T17:19:24Z")

</div>

Are both window\_mc and load\_mc sized to 100% or is one 200% or something?

---

<div class="post-metadata">

### Author: ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)
#### Post date: [June 24, 2008, 5:24pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/7 "2008-06-24T17:24:57Z")

</div>

is the mc empty or have you fiddled with?

if everything is different sized it seems reasonable to think that the container is fiddled:P

---

<div class="post-metadata">

### Author: ![tomsvhere](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@tomsvhere](https://forum.kirupa.com/u/tomsvhere)
#### Post date: [June 24, 2008, 5:33pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/8 "2008-06-24T17:33:47Z")

</div>

window\_mc is having the same size as the loadedswf = 1000x780 …and load\_mc is an empty movieclip of size 0 width and 0 height located at x=y=0.0;  
and window\_mc has got other shapes and buttons inside it. is that the prblm? the loaded swf looks almost twice as the original one.

---

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [June 24, 2008, 5:56pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/9 "2008-06-24T17:56:28Z")

</div>

create a temporary external swf with some plain text and load it in the same way - see if it is doing the same thing?

---

<div class="post-metadata">

### Author: ![tomsvhere](https://avatars.discourse-cdn.com/v4/letter/t/839c29/32.png) [@tomsvhere](https://forum.kirupa.com/u/tomsvhere)
#### Post date: [June 25, 2008, 4:39pm UTC](https://forum.kirupa.com/t/loading-a-swf-into-a-movieclip-inside-another-movieclip/264266/10 "2008-06-25T16:39:52Z")

</div>

i created another external swf and tested it…but that too looks large… i have attached my files…main.fla ,main.swf and login.swf … please chek it and giv me a soln…i need it to wrk very badly… :crying:

see my files here:

[http://www.kirupa.com/forum/attachment.php?attachmentid=47028&stc=1&d=1214411802](http://www.kirupa.com/forum/attachment.php?attachmentid=47028&stc=1&d=1214411802)
