A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: .swf files

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    4

    .swf files

    Thanks to Launchpad (poster on this site), I have my Mp3 player built. My Action Layer has a place for ten songs. I have my songs in .swf format and I am trying to insert them into the player. I have been importing them into my library because the first frame of the Action Layer has
    loadMovie("1.swf", content);

    Am I not doing this right because I can =not get it to work?

  2. #2
    Junior Member
    Join Date
    Jan 2006
    Posts
    4
    The SWF files do not want to allow a sound in the frame. I tried an MP3 and it worked but there seems to be something wrong with my code. When you click on the next button on the player it goes to the next song but the first song sontinues playing. If you keep hitting next it will play all the songs at the same time. What gives?

  3. #3
    Junior Member
    Join Date
    Jan 2006
    Posts
    4
    "on (release)
    {
    gotoAndPlay("two");
    }"

    I take it this is the incorrect code to make it stop playing the 1st song and go to the second. Can anyone help me with the correct code?

  4. #4
    It's a long way to the middle launchpad67's Avatar
    Join Date
    Oct 2004
    Location
    Prescott, Arizona
    Posts
    1,387
    No, don't import them into the library!! Make each song into it's own swf and just leave them in the same folder with the player swf. They are 'external' loaded movies, not internal!!
    I PM'd you and fixed the bug with the player.

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