# How to call one .swf file in another .swf file?

**URL:** <https://forum.kirupa.com/t/how-to-call-one-swf-file-in-another-swf-file/279194>\
**Category:** flash\
**Created:** [January 11, 2009, 6:46am UTC](https://forum.kirupa.com/t/how-to-call-one-swf-file-in-another-swf-file/279194 "2009-01-11T06:46:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SrihariCh](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Post date:** [January 11, 2009, 6:46am UTC](https://forum.kirupa.com/t/how-to-call-one-swf-file-in-another-swf-file/279194/1 "2009-01-11T06:46:57Z")

</div>

Hi all,

```
     I am new to flash and ActionScript3.0. Presently, I am using flash CS3 and the code I need is in ActionScript 3.0.

     Suppose, I have a .swf file(viz., file1.swf). Now, i am developing one more .swf file(viz., file2.swf), in which I need

```

to execute file1.swf when a CLICK event is listened on button present in second file(i.e., file2.swf).

```
       In how many ways, we can get this.Please reply me if you know this.

```

And, please I need code very urgently.  
Help me.
