# Another problem (attachMovie) plz help

**URL:** <https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264>\
**Category:** Uncategorized\
**Created:** [November 17, 2002, 2:21am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264 "2002-11-17T02:21:14Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![timr03](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@timr03](https://forum.kirupa.com/u/timr03)\
**Post date:** [November 17, 2002, 2:21am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/1 "2002-11-17T02:21:14Z")

</div>

i’m making a flash site that includes a lot of attach movie scripts which means i have to use linkage for all of the movie clips in my library… my problem is that I don’t want all the movie clips to load in the first frame because it takes a while for all of them to load, but then when I uncheck the export in first frame option my attachMovie actions don’t work any more

can anyone help me please?

---

<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:** [November 17, 2002, 2:28am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/2 "2002-11-17T02:28:44Z")

</div>

Using attachMovie over and over tends to use up CPU resources. May I ask why you use it?

They have to export to the first frame to work.

---

<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:** [November 17, 2002, 2:35am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/3 "2002-11-17T02:35:56Z")

</div>

im trying to make a site made entirely out of flash and i thought that i could use attachMovie for each button

I’m not done yet but here is the [site](http://www.geocities.com/timr03) if you want to see it

do you have any suggestions for me so that i don’t have to use the attachMovie script? I’m just starting to understand how action script works with flash so i don’t know much about 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:** [November 17, 2002, 2:50am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/4 "2002-11-17T02:50:27Z")

</div>

Are you just using it for buttons?

If so… then why don’t you just keep your buttons on the stage instead of using attachMovie?

---

<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:** [November 17, 2002, 2:54am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/5 "2002-11-17T02:54:12Z")

</div>

actually yeah i am…  
u seem to be very helpful all the time thanks a lot!

---

<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:** [November 17, 2002, 3:01am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/6 "2002-11-17T03:01:08Z")

</div>

Hey no problem.

I am supposing you are going to just keep your buttons on the stage instead of using loadMovie? It would be much better, as each of those buttons shouldn’t weight too much in file size, so it won’t make your movie load any slower.

---

<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:** [November 17, 2002, 3:05am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/7 "2002-11-17T03:05:28Z")

</div>

yeah i think i’ll try that …

but do you just do that by putting the movie clip on the down frame of the button instead of using attachMovie?

---

<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:** [November 17, 2002, 3:06am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/8 "2002-11-17T03:06:54Z")

</div>

What are you trying to do with your button?

If it is an on Press animation, then yes, you can put the movie clip in the down frame.

---

<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:** [November 17, 2002, 3:13am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/9 "2002-11-17T03:13:10Z")

</div>

ummm i don’t think it worked because it only works when i hold down on the button if i don’t hold down on the button the movie clip doesn’t play

---

<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:** [November 17, 2002, 3:14am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/10 "2002-11-17T03:14:22Z")

</div>

When do you want the movie clip to play?

What exactly are you trying to do? It is hard to troubleshoot a situation when I don’t know what you are doing…lol.

---

<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:** [November 17, 2002, 3:22am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/11 "2002-11-17T03:22:04Z")

</div>

oh sorry…  
what im trying to do is make a normal personal site entirely with flash

so when i click on the buttons a certain movie clip plays… if you look at my[site](http://www.geocities.com/timr03) again that’s exactly what i want to do

when i click on the about me button… the about me movie clip will play

only in the site i used attachMovie … u said that i could just do something in the stage so i don’t have to use attachMovie… but when i put the about me movie clip on the down frame of the about me button it only keeps playing when i hold down on the button if i don’t hold down on the button the movie clip disappears…

hope you understand what i just typed

---

<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:** [November 17, 2002, 3:25am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/12 "2002-11-17T03:25:29Z")

</div>

Ok, this is because you use loadMovie for this, not attachMovie.

loadMovie loads an external .swf file into your movie that you can preload seperately. You will have to read up on that because I am horrible at explaining things. You should read up on the Full Site tutorial Kirupa has on his site. It is excellent for learning the basics of building a full flash site 🙂

---

<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:** [November 17, 2002, 3:30am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/13 "2002-11-17T03:30:17Z")

</div>

oic…  
great you’ve been great help

Thanks a lot!

---

<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:** [November 17, 2002, 3:31am UTC](https://forum.kirupa.com/t/another-problem-attachmovie-plz-help/8264/14 "2002-11-17T03:31:56Z")

</div>

No problem.

loadMovie can be a pain at first, but once you get the hang of it, it will become your best friend in Flash site building.

It saves on load time because any unviewed content goes unloaded, and you can add a preloader to any movies you are loading into Flash.
