Making a Mp3 Player

Hey guys i am making this music player for a site i am making and i want know how can i make does bars that move randomly up and down when the music is playing
any tut. or an example… thanks.

well i can help you with the player part if you need it:

Hey thats cool i think i will add some more songs. thanks mann… just need the last part the little bars !:rambo:

If you want real equalizer bars, you need a program that can analyze the song and bring that info into Flash, such as SwiftMP3 for example. Otherwise, you can just tween some bars, or use actionscript to randomly size them.

no no,… just random bar… not the hard one ::pope:
yeap i want to make it with actionscript because i want to add some easing but i dont know how :-\ any help or tutorial

Easing ? Golden formula:

property = target-(target-property)/1.2

or 1.3, or 1.4, … depends on how fast you want it to ease. Example prototype for easing:

MovieClip.prototype.ease = function(x,y){
this.onEnterFrame = function(){
this._x = x-(x-this._x)/1.2
this._y = y-(y-this._y)/1.2
if(this._x < x+1 && this._x > x-1){
delete this.onEnterFrame
//this is the point where the target x,y has been reached

good,… now that i have my easing code… could y make them by motion tween and to each bar add that ease code ?

could y make them by motion tween and to each bar add that ease code ?

Sorry, what ?

yes you told me that i could make the equalizer by just adding some motion tweens (to the bars )
could i make each bar into movie clips and and the ease code so they have that effect ?

Yes, you could do that. You’d have to change the y value to ease to all the time, but I think motion tweens will make the movement seem more natural here.

Im bored…

i need some mad cofee-age:sleep: ZzZ

when i try to put on my footer i put
<OBJECT classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH=“552” HEIGHT=“65” id=“BlackAndWhiteDesign” ALIGN=””>
<PARAM NAME=movie VALUE=“BlackAndWhiteDesign.swf”> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=“BlackAndWhiteDesign.swf” quality=high bgcolor=#FFFFFF WIDTH=“552” HEIGHT=“65” NAME=“BlackAndWhiteDesign” ALIGN=""
TYPE=“application/x-shockwave-flash” PLUGINSPAGE=“”></EMBED>
… why wont that work?