Find more Tutorials in one of this categories:
3d :: Access :: actionscript :: after-effects :: ajax :: animation :: asp :: autocad :: blender :: c-sharp :: cpp :: css :: design :: drawing :: dreamweaver :: eclipse :: excel :: fireworks :: flash-8 :: flash :: flex :: fruity-loops :: gimp :: hacking :: hibernate :: html :: illustrator :: indesign :: java :: javascript :: joomla :: linux :: mapping :: maya :: ms-project :: myspace :: pdf :: perl :: photoshop :: php :: php :: powerpoint :: psp :: python :: reason :: ruby :: second-life :: spring :: sql :: template :: ubuntu :: video :: visual-basic :: windows :: word :: xml
Search:

Home
Impressum

Build Simple Sound Player: Flash Tutorial AS 3.0

Flash Tutorials
Flash Tutorials Flash Tutorials
Flash Tutorials

Check this video out at Hi-Res here: http://www.tutvid.com/tutorial... this video we will connect a a play and pause button to an external source of sound. We will get the sound both from our hard drive and from the live web and build a mini sound player with a simple play and stop button! We will be using Actionscrip 3.0 and learning about URLRequests as well as the Sound, SoundMixer, and SoundChannel classes. Please check out the site http://www.tutvid.com

Channel: Education
Uploaded: January 1, 1970 at 12:59 am
Author: tutvid

Length: 12:28
Rating: 4.60
Views: 13630



Video Url:


Embed Code:

Video Comments

nonamist (January 1, 1970 at 12:59 am)
so ac3 is a step up from ac2 why? i thought this would be simpler..
oboyisreal (January 1, 1970 at 12:59 am)
Awesome TuT.... Got a question for u Have ever I have flash 5 (LOL) isthere a way for this to work or is there a way to do this in 5 at all and/or create a player period in 5 ??
theinstantramen (January 1, 1970 at 12:59 am)
this is awesome. you would probably get a lot of listeners if u made a podcast.
varnol (January 1, 1970 at 12:59 am)
Man, I love tutvid tutorials. Crystal clear and very helpful.
HIDDENDARKNESS727 (January 1, 1970 at 12:59 am)
I fixed it okay here is the whole script with no errorsvar loadSnd:URLRequest = new URLRequest("your .mp3 file");var thisSnd:Sound = new Sound();thisSnd.load(loadSnd);your button name.addEventListener(MouseEvent.CLICK,playF)function playF(event:MouseEvent):void{thisSnd.play();}
HIDDENDARKNESS727 (January 1, 1970 at 12:59 am)
Alright for all you guys out there that are having problems with the coding there is only one issue im having is on line 8 thisSnd.play() but i will post the script without that and there are no errors as i checked it throughlyvar loadSnd:URLRequest = new URLRequest("");var thisSnd:Sound = new Sound();thisSnd.load(loadSnd);playbtm.addEventListener(MouseEvent.CLICK,playF)function playF(event:MouseEvent);void{}
TheTimeLord903 (January 1, 1970 at 12:59 am)
Um i know it's gonna be hard but can eny 1 type out the actions at 4:51 secs plz?? cuz i cant get um right
spookykittor (January 1, 1970 at 12:59 am)
I second that. O.O I cannot get it.. so many errors. x.x -might be blind- LOL
MindFreakTheMon (January 1, 1970 at 12:59 am)
Thanks for tutorial) realy helpful
schopenhauerjr (January 1, 1970 at 12:59 am)
yeah i got something similar. i think it has to do with name or location of the sound file on your HD, however when i placed a sound from the net it worked.