# (MX)movieclip visibility when loading movieclip

**URL:** https://forum.kirupa.com/t/mx-movieclip-visibility-when-loading-movieclip/19949
**Category:** flash
**Created:** [May 3, 2003, 8:48am UTC](https://forum.kirupa.com/t/mx-movieclip-visibility-when-loading-movieclip/19949 "2003-05-03T08:48:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hihabyte](https://avatars.discourse-cdn.com/v4/letter/h/4491bb/32.png) [@hihabyte](https://forum.kirupa.com/u/hihabyte)
#### Post date: [May 3, 2003, 8:48am UTC](https://forum.kirupa.com/t/mx-movieclip-visibility-when-loading-movieclip/19949/1 "2003-05-03T08:48:02Z")

</div>

Hello!

I’m having a little problem when I use this code:

mymovieclip1.\_visible=false  
mymovieclip1.loadmovie(“xxx.swf”)

The problem is that he does load the movie, but that he doesn’t make it invisible. And I only want the movie to be visible a few seconds later…  
What is wrong here?

THanks!

---

<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: [May 3, 2003, 9:18am UTC](https://forum.kirupa.com/t/mx-movieclip-visibility-when-loading-movieclip/19949/2 "2003-05-03T09:18:34Z")

</div>

once the external swf is loaded into the MovieClip its properties are reset (i think \_xscale and \_yscale are the only exceptions, not sure).

you’ll need to preload it and then set its \_visible property to false, or you can just set it to false in the first frame of the swf being loaded into the MovieClip.

=)

---

<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: [May 3, 2003, 10:31am UTC](https://forum.kirupa.com/t/mx-movieclip-visibility-when-loading-movieclip/19949/3 "2003-05-03T10:31:30Z")

</div>

I managed to find a solution in the meanwhile: I put mymovieclip1 in another mymovieclip2 and I made the second one invisible. And i works!! yaaay!! 🙂

But thanks for the tips, Kax, they’ll prove to be usefull!

---

<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: [May 3, 2003, 10:44am UTC](https://forum.kirupa.com/t/mx-movieclip-visibility-when-loading-movieclip/19949/4 "2003-05-03T10:44:11Z")

</div>

yup… as usual, there’s a bunch of ways to solve the same problem. 😉
