# Problem with looping swf on stage

**URL:** <https://forum.kirupa.com/t/problem-with-looping-swf-on-stage/316163>\
**Category:** Uncategorized\
**Created:** [November 14, 2010, 10:42pm UTC](https://forum.kirupa.com/t/problem-with-looping-swf-on-stage/316163 "2010-11-14T22:42:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dames](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@Dames](https://forum.kirupa.com/u/Dames)\
**Post date:** [November 14, 2010, 10:42pm UTC](https://forum.kirupa.com/t/problem-with-looping-swf-on-stage/316163/1 "2010-11-14T22:42:10Z")

</div>

Hi,

I am here new so sorry if my problem is obwies for you…

I am creating a web site, and have on my action script layer code like this :

var bg\_1:Loader = new Loader();  
box.addChild(bg\_1);  
var bgURL\_1:URLRequest = new URLRequest(“MySlideshow.swf”);  
bg\_1.load(bgURL\_1);

This load to stage slide show with couple pictures, the problem begin when i am trying to push buttons witch are in the second lyer.  
The slideshow begin loop from begin every time I press a button.  
After enter to web, i want to slideshow play automaticly without responding (looping) for clicking on any button.

Thanks for any help…

Sory if i write this post in wrong place :fight::hurt:
