Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 30th, 2006, 02:56 AM
Registered User
 
Join Date: Aug 2006
Location: , , Australia.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating a Flash audio player

Does anyone know how I would go about creating a player similar to the one on http://www.tnawrestling.com/roster/index.html but with my own files?

Thanks.

Reply With Quote
  #2 (permalink)  
Old August 30th, 2006, 09:33 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's really pretty easy, if you break that one down into sections it's not so bad. First there is the design, this one makes it look more complicated than it actually is. Then there are the album titles and song listings, which activates it the Flash Sound class. Just look into Flash's sound class in flash help, and you will see what is happening in each step of this after you select a song.

Basically you .loadSound()
While loading use the .getBytesLoaded() and .getTotalBytes() to display this info
Then .onLoad() you can .start() playing
While it's playing use the .duration and .position to move the bar across
When the song is finished the .onSoundComplete event handler will be available.

There are some more functions available but those are the basics.


Peace
Mike
http://www.eclecticpixel.com
Reply With Quote
  #3 (permalink)  
Old December 15th, 2006, 10:46 PM
Friend of Wrox
 
Join Date: Aug 2004
Location: Orange County, CA, USA.
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you post action script for this?

Reply With Quote
  #4 (permalink)  
Old December 16th, 2006, 12:37 PM
Registered User
 
Join Date: Dec 2006
Location: , , USA.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Chapter 19 of the book Beginning ActionScript 2 [ http://www.wrox.com/WileyCDA/WroxTit...764577689.html ] contains a comprehensive tutorial for creating a simple audio interface beginning on page 484.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Media Player 11 Object in Access VBA LouG Access VBA 12 October 20th, 2008 10:12 AM
How create a flash music player method Flash (all versions) 1 July 25th, 2005 12:01 PM
Creating a Media player(mainley mp3 and wma) Apocolypse2005 Beginning VB 6 0 June 7th, 2005 11:50 AM
flash mp3 player scorpion_king Flash (all versions) 1 March 23rd, 2004 12:53 PM
mouse controlling in flash and creating cursors mrafaqi Flash (all versions) 1 October 13th, 2003 09:28 AM



All times are GMT -4. The time now is 01:53 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.