# Sound looping pb \[MX4\]

**URL:** <https://forum.kirupa.com/t/sound-looping-pb-mx4/50199>\
**Category:** flash\
**Created:** [April 30, 2004, 4:55am UTC](https://forum.kirupa.com/t/sound-looping-pb-mx4/50199 "2004-04-30T04:55:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)\
**Post date:** [April 30, 2004, 4:55am UTC](https://forum.kirupa.com/t/sound-looping-pb-mx4/50199/1 "2004-04-30T04:55:52Z")

</div>

Hello,

I’m having a little problem that i don’t know how to solve…  
My swf works with scenes. In the 1st scene i build a sound object :

```php

mysound = new Sound();
mysound.attachSound("thesound.wav");
mysound.start(0,loop);
mysound.setVolume(100);

```

but when i move to the 2nd scene, the sound stop looping… I could restart it using \_root.mysound.start(0,loop) but it would restart the sound when you move from scene1 to scene2 so cut it up in the middle and restart which isn’t so nice…

Any idea??
