dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Looking for flash music player

  1. #1
    Join Date
    Mar 2005
    Posts
    208

    Arrow Looking for flash music player

    Hi every body . I am looking for a flash music player that allow users to hear the music but not to be able to download or find the location of music files from source code. could any one help me how that can be done .Thanks

  2. #2
    Join Date
    May 2004
    Location
    dobson ave.
    Posts
    694
    Hi -
    Do a search for Flash MP3 Player and I'm sure you'll get oodles of results. The easiest way is to create Sound objects, and load .mp3's instead of having them weigh down your file by attaching from the Library:
    myBeat1 = new Sound();
    myBeat1.loadSound("beats.mp3");

    Make buttons to start or stop them, like:
    one_btn.onPress=function(){
    myBeat.start();
    }
    onestop_btn.onPress=function(){
    myBeat.stop();
    }
    and you'll probably need to control the sound volume with slider(s) or buttons(s) - just check some more polished examples out...

    Good luck,
    El

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles