A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Preload 2.mp3 while playing 1.mp3..

  1. #1
    Senior Member
    Join Date
    Dec 2000
    Posts
    213

    Preload 2.mp3 while playing 1.mp3..

    Hi:

    I have 4 audios

    1.mp3 2.mp3, 3.mp3 and 4.mp3.. When I play I want to preload 1.mp3 and 2 mp3.. When 1.mp3 starts playing I want to preload 3.mp3 and 4,mp3.. Can someone please help me with this code.. I have struggled with this code for a long time now.

    Thanks

  2. #2
    Member
    Join Date
    Jul 2001
    Posts
    91
    just use multiple sound objects
    PHP Code:
            song2 = new Sound();
    song2.loadSound(song2.mp3false);
    song3 = new Sound();
    song3.loadSound(song3.mp3false); 

  3. #3
    Senior Member
    Join Date
    Dec 2000
    Posts
    213
    Thanks Spacether.

    So If on frame 1 I want to preload 2.mp3 and 3.mp3 and start playing 1.mp3 what would the code look like?

    Thanks

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