A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: mp3 playing but not when HTML is launched!!!

  1. #1
    Member
    Join Date
    Aug 2007
    Posts
    33

    mp3 playing but not when HTML is launched!!!

    when I launch the swf the mp3 plays but when I launch the html it is not... ugh need help!





    function showPage() {
    stopAllSounds();
    _level0.ui.content_area.content.loadMovie("modules/" + contentItems[currentContentItem].attributes.FILENAME);
    if (contentItems[currentContentItem].attributes.audio != "") {
    // create a new sound object
    var soundHolder = new Sound();
    // load mp3 into the sound object
    soundHolder.loadSound("modules/" + contentItems[currentContentItem].attributes.audio,false);
    // play the sound
    soundHolderVolume=100;
    soundHolder.setVolume(soundHolderVolume);
    soundHolder.start(0,99999);
    }
    }

  2. #2
    Member
    Join Date
    Aug 2007
    Posts
    33
    nobody knows this one!!! I figured someone would have run into this prob before?!?!?

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