# Work with a series of \*.swf files........!

**URL:** https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721
**Category:** programming
**Created:** [October 9, 2001, 4:31pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721 "2001-10-09T16:31:27Z")
**Posts on this page:** 10
**Page:** 1

<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 9, 2001, 4:31pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/1 "2001-10-09T16:31:27Z")

</div>

Hi out there to everyone

I’m trying out this for some time but its not working well, what i’ve is a series of \*swf files (13 to be precise) each of size more or less 180 KB.I want them to be displayed in one continous flash movie.each file has \*.png images as graphics and sound too.do i need to convert all the files into diff movie clips and call one another in one main movie clip or can i load them individually writing a little bit of code.help me out…

skm0911

---

<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 9, 2001, 5:33pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/2 "2001-10-09T17:33:52Z")

</div>

hiya skm0911…

- use the “load movie” action (basic actions in your user panel)…

- load them all into the same level (e.g:Level 1)

- and have all the movies in the same folder…

k…  
b…

---

<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 9, 2001, 5:44pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/3 "2001-10-09T17:44:07Z")

</div>

Thanks for the advice, ginger flash, but i forgot to tell that i need to load each movie one at time, i mean one after the other, unlike all at the same time.can i still do that using the load movie action into the same level…?  
skm0911

---

<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 9, 2001, 8:45pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/4 "2001-10-09T20:45:23Z")

</div>

yes…

e.g:

main timeline  
movie 1 - frame 1

movie 2 - frame 10

movie 3 - frame 20

all the waY ON TILL 13 [UNLUCKY 4 SUM]…

or…

have…

butts (lol)

so the user can manuly load movies…

look at my site[footer = click]: the music movie loads in after the main interface has loaded…

k…  
b…

---

<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 10, 2001, 5:40pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/5 "2001-10-10T17:40:36Z")

</div>

Actualy i tried to do that way, by keeping all the movie files(after making them as movie clips) in one layer one after the other, but as each movie file is of size more than 150 KB,(i’m working on Win’98 with 48 MB ram) my system doesn’t respond after playing some files…

so i tried to work the other way, by calling load movie action and unload movie action at the end and the beginning of \*.swf file, again each at diff layer.my problem is i’m unable to get a smooth transition from one movie to other, as i see a empty frame between each movie

How can i overcome it, or IS there a better way to do the whole process…  
Come on flashonauts help me out…!  
skm0911

---

<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 10, 2001, 7:37pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/6 "2001-10-10T19:37:08Z")

</div>

if you want a smooth transition you’ll have to use different levels. you can only load one movie into a level, loading another will replace the movie and there will be a pause while it loads.

perhaps load them all sequentially into different layers, right at the beginning. ie mc1 will load, then mc2, then mc3 … but they’ll load as soon as previous one has finished loading, rather than once the previous one has finished playing. that way, they’re ready to go when you need them. you could do that with an if (\_framesloaded){load next movie;} at the beginning of each clip.

maybe start with level30 and count down. when a mc has finished playing have it trigger the next one to start and unload itself, thus preserving your memory, and seen as the next movie’s sitting in the layer below, you won’t have any blank frames.

incidentally, ram’s _really_ cheap right now, treat yourself.

---

<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 11, 2001, 4:42pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/7 "2001-10-11T16:42:25Z")

</div>

Thanks for the help suprabeener, i’m wortking on it…

skm0911

---

<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 12, 2001, 5:32pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/8 "2001-10-12T17:32:53Z")

</div>

Supra,

can u explain the steps more clearly, i feel confused as where to start…  
what i’m doing is that,loading each \*swf file in different layers,each one at the end of the other in top down approach,but how can i unload the movie once it finishes.  
waiting for ur answer

skm0911

---

<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 12, 2001, 6:09pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/9 "2001-10-12T18:09:15Z")

</div>

in the last frame of the movie:

unloadMovie(this);

---

<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 12, 2001, 7:21pm UTC](https://forum.kirupa.com/t/work-with-a-series-of-swf-files/3721/10 "2001-10-12T19:21:33Z")

</div>

thanks for the solution  
as the \*swf files size is big, once i load two r three into to the main Movie file, the system doesn’t respond nad hangs!  
i think having all the swf files in one folder and calling each them one after the other should be fine…  
than making them either as movie clips r calling them directly…

skm0911
