# Calling swf file into a flash file

**URL:** <https://forum.kirupa.com/t/calling-swf-file-into-a-flash-file/272318>\
**Category:** Uncategorized\
**Created:** [October 3, 2008, 9:34pm UTC](https://forum.kirupa.com/t/calling-swf-file-into-a-flash-file/272318 "2008-10-03T21:34:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy106](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@andy106](https://forum.kirupa.com/u/andy106)\
**Post date:** [October 3, 2008, 9:34pm UTC](https://forum.kirupa.com/t/calling-swf-file-into-a-flash-file/272318/1 "2008-10-03T21:34:27Z")

</div>

Hi everyone,  
Thanks for reading my post  
I have created 5 small swf files, which each contains a slide show. then what I have done is I have created a main flash file and I have then called the swf file from the new flash file for example, in the main flash page I created 5 layers 1 layer for each movie, then I am using the img1.loadMovie(“img1.swf”, 1); to call the swf files to the new flash page.

the problem is that the swf files each have their own speed set by this parameter:  
\_global.numPause = Number(this.firstChild.attributes.timer \* 1000);

but when it is imported it will adjust the speed of the swf to the default, i know not sure yet were the default value comes from. I have attached all the files so you can see what i mean… basically the 5 images should have their own speed.

I really really appreciate all the help I can get.

in the attachments to make it work ll you have to do is name a bunch of images img1.jpg and on and throw them in a images folder.

Thank you.

Andy
