A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Simple Sound Over 2 .swf's question...

  1. #1
    Member
    Join Date
    Jan 2006
    Posts
    92

    Simple Sound Over 2 .swf's question...

    I have probably a simple/stupid question, but any help would be greatly appreciated. I have a simple website with the Main/Index page with this code to start a song.

    song1 = new Sound();
    song1.attachSound("sound1");
    song1.start(0, 999);


    Then I have an off button with just stopAllSounds. But the problem is that when a user clicks on a link to go to a new page, i have a new .swf load over the top of my original swf. It also has the same button with the same code. So when i push the "on" for the sound, it doesnt load. Is there a simple way for it to load a different song that is in that 2nd page? Thanks

  2. #2
    Banned
    Join Date
    Jan 2010
    Posts
    5

    Simple Sound Over 2 .swf's question

    This, of course, initializes the sound and starts it streaming. ... Simple Swf Preload Question. I have a real simple question but can't find an answer here.












    _______________
    Sound Effects

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