A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: dynamic loading of sound

  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    52
    has anyone successfully got the dynamic loading of sound to work with mx?

    I tried putting the loadSound("http://url," true); command in frame 1 and put it on my site and loaded it, but it didn't play the music....any suggestions or know where a good tutorial is?

  2. #2
    [Devil in DarkGreen]

    Join Date
    Aug 2000
    Posts
    523
    flash mx security problem,you should load a sound in a relative folder.


    DS

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    52
    well i dunno what that means but i got the sound working except i can't get it to loop... i'm using the

    mySound.start(0,999);

    code...but its not looping... =/

  4. #4
    Member
    Join Date
    Aug 2001
    Posts
    52
    ok lemme try rephrasing it

    by streaming a dynamic mp3...is it still able to loop or is it a one time only deal?

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    52
    ok this is driving me insane...well close to it here's my code

    mySoundToLoad = "mainmusic.mp3";
    mySound = new Sound();
    mySound.loadSound(mySoundToLoad, true);
    mySound.start(0,999);

    its also in my first frame of the main movie...


    now the mp3 is like...5MB but I'd figure it would loop after its done...but it doesn't...anyone help? please?

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