dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: playing external mp3, best way

  1. #1

    playing external mp3, best way

    I want to make a small movie with just a play/stop and rewind button to play an external mp3 file. Any ideas?

  2. #2
    muvipix.com
    Join Date
    May 2001
    Location
    Maine
    Posts
    289
    What is an "external" mp3 file? Need more info.
    Regards,

    Ron

  3. #3
    Senior Member andrthad's Avatar
    Join Date
    Apr 2002
    Location
    Oklahoma - USA
    Posts
    154
    Hi needafixx2,

    If you are using Flash MX, you can load an external mp3 by using the following code attached to a button:

    Code:
    on(release){
       mySong = new Sound();
       mySong.loadSound("mySong1.mp3",false); //true or false tells the mp3 to stream. Also put mp3 file in same folder as fla
       mySong.start();
    }
    As far as the buttons, read through hp3s Sticky Note. It is extremely helpful.

    http://www.flashkit.com/board/showth...hreadid=299918

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