FFILES.COM NEWS SUBMIT A FILE REGISTER CONTACT
username:
password:
register | login help
Pending listings (4)

another mp3 player take-2

Previous overall listing: another mp3 player Previous in Media Players: another mp3 player Next overall listing: another mp3 player take-3 Next in Media Players: another mp3 player take-3

a few more updates. redesigned in AS3. use the right-click menu for more options. xml driven with a few custom options. create a skin to match your site.

if...
more >

Keywords: xml   mp3   player

user tristan.paige Author URL no website
Listing URL none
Downloads 1863 Views 13305
tristan.paige  

User ratings for another mp3 player take-2.

Donate Add to favorites Subscribe to comments
Report listing
Download  (Flash 9, AS 3.0)

More listings by tristan.paige

XML Image Rotator
XML Image Ro...
XML Photo Gallery
XML Photo Ga...
Tetris
Tetris
another mp3 player take-3
another mp3 ...
another mp3 player
another mp3 ...
Cyphrenix Chat-Lite
Cyphrenix Ch...

Comments

You need to LOGIN to post a comment.
user brettmcmaugh
brettmcmaugh: 4 months ago

Perfect circle yeah.

user tristan.paige
the listing author tristan.paige: 2 years ago

cinnah: sorry for not getting back sooner. CHANNEL_LENGTH must be 256. the code i posted below should make the visualization the width of the stage already. please send me a quick and dirty photoshoped image of what you want the player to look like, i'll apply that image to the stage and create the viaualization to match the dimensions of the area you give. be clear where you want it to show. draw some arrows indicating the limits of where it will be shown. i'll try my best to help out. mixing the colors on diffrent backgrounds really gives a cool effect as well. i'm going to try and upload another player with a few diffrences so you can see how flexible the spectrum can be. post your link when your player's finished, i'd like to see what you came up with. good luck.
ciao.

user cinnah
cinnah: 2 years ago

THX tristan, i'm still confusing as2-3. but, i couldn't solve it yet. > height gives no problem, but if you change the width, the lines get messed up. (const CHANNEL_LENGTH:int = stage.stageWidth; //gives just one soundwave) Peace

user tristan.paige
the listing author tristan.paige: 2 years ago

hey cinnah. i did call the function equilizer. thats just awful :)remember, it's stage.stageWidth in AS3. replace the the function with:
addEventListener(Event.ENTER_FRAME, onEnterFrame);
function onEnterFrame(event:Event):void {
var bytes:ByteArray = new ByteArray();
const PLOT_HEIGHT:int = stage.stageHeight/2;
const CHANNEL_LENGTH:int = 256;
SoundMixer.computeSpectrum(bytes, false, 0);
var g:Graphics = this.graphics;
g.clear();
g.lineStyle(0, 0x6600CC);
g.beginFill(0x6600CC);
g.moveTo(0, PLOT_HEIGHT);
var n:Number = 0;
for (var i:int = 0; i < CHANNEL_LENGTH; i++) {
n = (bytes.readFloat() * PLOT_HEIGHT);
g.lineTo(i * 2, PLOT_HEIGHT - n);
}
g.lineTo(CHANNEL_LENGTH * 2, PLOT_HEIGHT);
g.endFill();
g.lineStyle(0, 0xCC0066);
g.beginFill(0xCC0066, 0.5);
g.moveTo(CHANNEL_LENGTH * 2, PLOT_HEIGHT);
for (i = CHANNEL_LENGTH; i > 0; i--) {
n = (bytes.readFloat() * PLOT_HEIGHT);
g.lineTo(i * 2, PLOT_HEIGHT - n);
}
g.lineTo(0, PLOT_HEIGHT);
g.endFill();
}

that should get you started.
ciao

user cinnah
cinnah: 2 years ago

tristan.paige: in the script, i think it's called 'equalizer'. and i still couldn't change the width of it (i can, but no stage.width). does it has something to do with 'CHANNEL_LENGTH'? the 256, is this in function with something else? I don't get it. if you could fix me that, it would be super!

show all 10 comments