# Interacting with loaded swf files

**URL:** <https://forum.kirupa.com/t/interacting-with-loaded-swf-files/171650>\
**Category:** Uncategorized\
**Created:** [December 7, 2005, 3:01am UTC](https://forum.kirupa.com/t/interacting-with-loaded-swf-files/171650 "2005-12-07T03:01:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaeger0626](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jaeger0626](https://forum.kirupa.com/u/jaeger0626)\
**Post date:** [December 7, 2005, 3:01am UTC](https://forum.kirupa.com/t/interacting-with-loaded-swf-files/171650/1 "2005-12-07T03:01:53Z")

</div>

first i made an empty movie clip and named it “container”  
and then i made a button…

here’s the code for the button in main movie…

on (release){  
container.loadMovie(“movie1.swf”);  
movie1.play();  
}

then i put stop(); on the first frame of the swf to be loaded…

what i want is to play movie1 by pressing the button in the main movie…
