Another problem (attachMovie) plz help

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?

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.

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 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

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?

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

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.

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?

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.

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

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.

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 mysite 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

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 :slight_smile:

oic…
great you’ve been great help

Thanks a lot!

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.