A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Import a .swf sound file

Hybrid View

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Location
    Belgium
    Posts
    26

    Import a .swf sound file

    Hi all and happy new year,

    I downloaded a soundloop from flashkit in .swf "data7.swf" I can hear it when I play it with the flash player but when I import it in my animation I can't.
    This is what I putted in my actionscript window at the beginning of the animation :"loadMovieNum("data7.swf", 66);"
    and I also putted the data7.swf file in the folder of my animation and in the library. I dont know what's going wrong.

    I also downloaded the mp3 version and imported it as an .swf in my animation. It works but the loop isn't going right.

    Thanks for helping me.

    Clay2n

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Do you have the data7.fla? If the sound uses attachSound code to play it in the swf, it won't play when imported. You need to open the fla and change the attachSound line. And you don't need the swf in your library if your loading it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center