# Need help with actionscript

**URL:** <https://forum.kirupa.com/t/need-help-with-actionscript/283569>\
**Category:** Uncategorized\
**Created:** [March 8, 2009, 6:13am UTC](https://forum.kirupa.com/t/need-help-with-actionscript/283569 "2009-03-08T06:13:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nktoro](https://avatars.discourse-cdn.com/v4/letter/n/bbe5ce/32.png) [@nktoro](https://forum.kirupa.com/u/nktoro)\
**Post date:** [March 8, 2009, 6:13am UTC](https://forum.kirupa.com/t/need-help-with-actionscript/283569/1 "2009-03-08T06:13:22Z")

</div>

i am using a template to build a website, and want to add another .swf file “reference” i guess…

this is the actionscript code i have in the template, which currently supports three songs in the template. i want to add a fourth song.

\_root.mus\_num = 1;  
path = “music”+\_root.mus\_num+".swf";  
loadMovieNum(path, 1);  
\_root.soundstatus = “on”;

i have files named music1.swf, music2.swf, music3.swf and i created music4.swf, but this last one will not play when i test the movie.

any suggestions?  
thanks.
