1. EachPod
EachPod

Creating an MP3 Player with Flash CS5 and Actionscript: Part I

Author
Mark Lassoff
Published
Mon 11 Oct 2010
Episode Link
http://actionscript.learntoprogram.tv/?p=5

Actionscript 3.0 introduced a number of useful objects for working with Sound.  In this tutorial, we’ll create a fully-featured Flash based-Mp3 player.  In doing so, we’ll deal with several concepts in Flash and Actionscript.  In this tutorial you will learn to use:



  • Flash Components

  • addEventListner() method

  • Call back functions

  • Timer() Objects

  • Sound() Objects

  • The SoundLoaderContext() Object

  • The SoundChannel() Object

  • SoundTransform() Object


While using these Actionscript 3.0 concepts we’ll create an Mp3 player with play, stop , pause, volume controls, pan controls, id3 tag display and visualizer.


In part I we’ll add the play button and actually play the sound.  We’ll introduce the Sound() class and the addEventListener() method.

Share to: