Lines3D Example

15+ Examples Using Papervision3D GreatWhite

1 Comment

WordPress Portfolio Theme

70+ Awesome WordPress Portfolio Themes

Comments Off on 70+ Awesome WordPress Portfolio Themes

Welcome to ActionScript 3.0

ActionScript 1:1 – Getting Intimate With ActionScript 3.0

1 Comment

The Growth Template

21+ Flash Shopping Cart Templates

6 Comments

Learning ActionScript 3.0

10 Books to Help in Learning AS3

Comments Off on 10 Books to Help in Learning AS3

Facebook Shop Icon

11+ Premium Usages of Flash Facebook Templates

Comments Off on 11+ Premium Usages of Flash Facebook Templates

sublime-video-player

12+ Awesome Implementations of HTML5/Flash Video Players

Comments Off on 12+ Awesome Implementations of HTML5/Flash Video Players

ActionScript 3 Logo

Moving From AS2 to AS3: A Handy List of Resources

Comments Off on Moving From AS2 to AS3: A Handy List of Resources

A Simple Papervision Coverflow

Get Into Flow With These Flash Coverflows

1 Comment

9 Pixel Trend Background

31+ Flash Fullscreen Background Sets

3 Comments

Smart Mouth

20+ Ways to Extend Your Flash Workspace With JSFL Extensions

Comments Off on 20+ Ways to Extend Your Flash Workspace With JSFL Extensions

Save Time with Quality Stock Flash

Comments Off on Save Time with Quality Stock Flash

Mini MP3 Player

Update: Creating a Mini Music Player in AS3

Tags: ,

Once again the popularity of an earlier post has caused me to revisit a topic and improve upon a post that had been written over two years ago. The post that I am referring to is on the topic of creating a mini music player in AS3. Simple music players still have a place on the web and I’ve taken the liberty of re-creating an easy to use MP3 player built in AS3.

Introducing the Mini MP3 Player

While creating this MP3 player, I took much of the feedback from its previous implementation into consideration. Based on your feedback, I’ve decided to include the following features into this release.

Features:

  • Easily load a new sound into the player at any given time
  • Autoplay supported (defaults to false)
  • Looping supported (defaults to false)
  • Fast forward and rewind the loaded sound
  • Control the volume with supplied volume scrubber
  • Extends CASALib’s CasaMovieClip giving you features like destroy()
  • Fresh UI designed by Ryan Butz that can easily be customized

Implementing the Mini MP3 Player

I have updated the initial post to include how to implement this MP3 player into your Flash projects. Since I know everyone’s version of Flash might not be the same, I’ve taken the liberty of providing legacy versions of the FLA for Flash CS3 and CS4.

Download

Preview

Mini MP3 Player Preview

Feedback

As you integrate this into your projects, I’d love to hear our feedback. However, like always, let’s keep it constructive.

Credits

The provided audio loop is a part of the Teru’s Keys Loop freebie pack.  Like it?  Download the whole pack.


Related Posts

A Simple Papervision Coverflow

Get Into Flow With These Flash Coverflows

FlashEff Nano

FlashEff Nano: A Faster, Lightweight and More Affordable Version of FlashEff

Flash Countdown Timer

Create A Flash Countdown Timer in AS3 Using A Class

Study of Flash Media Server

Flash and Flex Developer’s Magazine

2 Comments

  1. LUis

    10.03.2011

    Hi, i’ve added this code to a site and i keep getting this error message…
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at SitioCS5_fla::MainTimeline/frame10()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at org.casalib.display::CasaMovieClip()
    at src::MiniMp3Player()

    • Angel Romero

      10.04.2011

      Hey Luis, without seeing your file I would have to guess either you don’t have the external ActionScript source pointed to from the Flash ActionScript properties or there is a instance being referenced with the wrong name attached.

      Double check that and if you are still having problems you can email me the file to look at.

      But really if you copy the clip as I and map the classes you should be fine.

      Checkout this post to understand more of what I am referring to.

      http://flashspeaksactionscript.com/how-to-implement-an-as3-library-into-your-flash-environment/