A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Soundboard

  1. #1
    Junior Member
    Join Date
    Jun 2009
    Posts
    3

    Soundboard

    I'm making a soundboard with a large amount of sounds, more than 400, and I was wondering if there would be any way to get the sounds to activate on a button click using actionscript without manually dragging the sound into the buttons. Sorry if I'm not being specific, also I'm using Flash 8, AS2.

    Edit: What I was thinking of doing was perhaps giving each button a code to name itself 1, 2, 3, 4, ..., and putting each sound into an array where I could make it so that when each button is pressed, the corresponding number's sound in the array plays, but I don't know how to put 400+ sounds into an array.
    Last edited by sozettakevin; 08-26-2009 at 05:35 PM. Reason: add info

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    Sound Object. Tutorial

    gparis

  3. #3
    Programmer
    Join Date
    Aug 2007
    Posts
    173
    if i was guna do this. id call my sound mp3s numbers ..eg... 1.mp3 , 2.mp3

    and on the button press it loads and streams the sound externally.
    easy method. and quick loading times.
    Freelance: AS2, AS3, PHP, MySQL, JavaScript
    Skype: hunty93

Tags for this Thread

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