Very simple mp3 player
What is an easy way to create a very simple flash mp3 player
in DW CS3? I
tried the DW mp3 plugin, but that caused confusion for
visitors who did not
know how or want to install a plugin. I googled "flash mp3
player" and
there are many available, but they support play lists and
many other
features. I just want to play one static mp3 url and have
Quicktime-like
controls of play, pause, rewind, etc. Any suggestions or
tutorials on how
to do this? If there is a simple tutorial on how to roll your
own in Flash,
I have Master Collection which includes Flash.
Best,
Christopher
I spent a couple of days reviewing various flash mp3 players
on the net and
decided to use SoundPlayer from FlashLoaded.com. For $35 it
works OK. But
here's my question. Why doesn't DW CS3 include a flash mp3
player component
similar to the flv player? Or did I miss it? Yes, I know the
generic
plugin can be used, but that requires visitors to install an
additional
plugin. Adding mp3 players to web pages would seem like a
common problem in
search of a simple solution in DW; why isn't a flash solution
included with
DW CS3 and/or Flash CS3? Am I missing something? This was my
first Flash
project, so perhaps I overlooked the obvious.
Best,
Christopher
Similar Messages
-
Create a very simple mp3 player with flash
newbie with flash...
with the FLVPlayback component i can get a nice looking basic player for .flv files easily...
Q: is there some way to set up the same functions to create a very simple mp3 player with flash?Search Google for "Flash MP3 tutorial" and if you know which version of actionscript you plan to use, try substituting that for "Flash"
-
Simple mp3 player not working :( action script error
Hi Everyone!
I'm wondering if anyone can help with this problem:
I am currently designing a website and creating a simple mp3 player with an on / off function but doesn't appear to be working. I am getting this error:
1095: Syntax error: A string literal must be terminated before the line break.
1083: Syntax error: end of program is unexpected.
1084: Syntax error: expecting rightparen before end of program.
1084: Syntax error: expecting rightparen before end of program.
1084: Syntax error: expecting rightparen before end of program.
1084: Syntax error: expecting rightparen before end of program.
I have uploaded a zip file containing the images and FLA file. I'm wondering if someone wouldn't mind taking a look for me and telling me how to fix this problem:
http://www.c-recordz.co.uk/download/mp3_player.zip
Thanks
DaviesHi Davies,
On line 19 don't break the line, Flash will do it for you... other aspect that I would recomend is to not put the '$' on the variables. In AS2 variables don't need to be declared as such (although it's a good policy), instead of the '$' put the 'var' word, as you already have in those variables.
Greetings
Leo -
How do I build a simple MP3 player in Flash?
I have recently redesigned my website and need to make
several mp3 files available for playback. I'm a voiceover talent,
and I need to have my demos readily available to those who visit my
website to hear my work.
I built the site using Dreamweaver (there's a little bit of
Flash content there, but the site itself is not a Flash site). I
know just anough about using Flash to be dangerous. :-) At the
present time, I just embedded my 11 demos on a page, with each demo
appearing TWICE -- once with the Windows Media Player embedded and
once with the Quick Time player embedded -- to allow for maximum
compatibility. But with 22 media players embedded in the page,
well, you can pretty much guess what happens -- the page takes a
freakin' eternity to load. No one's going to wait that long.
In a previous version of my website, I had deployed a
third-party app called Wimpy Button to achieve this functionality
(www.wimpyplayer.com). Wimpy button is a very simple little Flash
app that is designed to achieve precisely the functionality I need.
But now when I launch the Wimpy Button Maker (the first step to
creating the player), I get an error message that I think is
telling me that either a .dll file required by the program is not
there on my computer OR that a program I have since installed on my
computer is either using or has overwritten that .dll file. Either
way, the Wimpy solution is not working for me. So naturally, since
Wimpy was doing all this in Flash, I figured the most logical place
to turn was to Flash itself. I'm hoping to create my own little
playback interface that I can place in multiple instances on the
webpage, with each one set to trigger playback of a different .mp3
file.
Here's an example of something similar to what I'd like to
end up with. Visit
http://randybrown.voice123.com.
There, you'll see a series of players down the right-hand side of
the page, and each one triggers playback of a different .mp3 file.
A closer look at the .swf file can be seen at
http://voice123.com/swf/small_player.swf
, so, as you can see, the graphic itself ain't that complicated. I
know I can build the graphics file (or something similar) without
too much difficulty.
But getting it to have the functionality I need to deploy for
this purpose is where I'm lost. I just don't have enough experience
with Flash to have much of a clue.
Can anyone walk me through the steps involved?
Your thoughtful answer would be MUCH appreciated.
RandyThe best MP3 player I ever found for flash uses xspf
playlists and xml - really cool and easy to use/implement. Check it
at
http://musicplayer.sourceforge.net/
This player will go through a playlist you determine, or can jump
from track to track. It takes a little bit of testing to set up,
but is much simpler than writing your own player - and it's free. -
Simple Mp3 Player EQ Style Playlist
I'm trying to find a simple eq like mp3 player like this
http://www.flashkit.com/movies/Sound/Players/Small_EQ-Cosmin_V-11746/index.php
that will play a few tracks automatically and when done it will
start again with the first track? Can anyone point me in the right
direction? I just want to stick something simple in the corner of
one of my pages. ThanksI'm trying to find a simple eq like mp3 player like this
http://www.flashkit.com/movies/Sound/Players/Small_EQ-Cosmin_V-11746/index.php
that will play a few tracks automatically and when done it will
start again with the first track? Can anyone point me in the right
direction? I just want to stick something simple in the corner of
one of my pages. Thanks -
I need either a flex or flash mp3 player that uses an xml
playlist and runs on FMS3. Our new FMS server is working great and
we've been successful at installing samples that came with the
server as well as the tutorials in the Adobe developer's site. The
thing is... I'm a CF developer and while I can navigate flex and
flash (have downloaded trials for both now) I am unable at this
point to write an application.
Can anyone direct me to a product (free or for sale) that
gives me a nice small skinable mp3 player with just
play/stop/pause/volume controls and allows the user to select a
file from an xml playlist. I'd like source files so I can modify
but that's not necessary as long as the product is configurable. I
can find no such creature via google search. TIA!How are you trying to transfer the files? Are these definitely MP3 files and what are the specifications of the files?
-
Outside of the clunky media player component can someone give
me guidance on how to setup a custom player with these functions. A
counter/timer would be nice too but all I have is script for play
and stop which looks like this:
client_nc = new NetConnection();
client_nc.connect("rtmp://"+_level0.rtmpserver+"/fooserver/");
play_btn.onPress = function() {
in_ns.close();
in_ns = new NetStream(client_nc);
Replay_video.attachVideo(in_ns);
in_ns.setBufferTime(5);
in_ns.play("audio.mp3");
stop_btn.onPress = function() {
in_ns.close();
I'm basically just looking to add some script to this to add
a scrubber and a timer/clock if possible. Many thanks for any help
in advance!
Regards,
-KjupIt looks like you are using code to play flash video (FLV),
and not an MP3. Make sure you are using the sound object to play
mp3s.
Here are a couple good tutorials:
http://kennybellew.cowfly.com/tutorial/
http://www.lynda.com/info/books/flash8btb/sample.aspx
First steps to play an mp3 using actionscript (see the tuts
for more details)
- Define an empty movie clip in actionscript
- Create the sound object variable
- Load the sound set it either to start streaming/playing
right away (true), or load completely without playing (false)
- Start the sound (using movieclips)
Play, pause/stop buttons
PLAY - use the start(); command. to start at beginning of mp3
you don't need to set any value.
PAUSE - capture the POSITION of the mp3 to a variable when
this button is pressed. In your start button, you add the variable
inside the brackets start(). position is captured in milliseconds
so you have to divide by 1000 to get seconds.
STOP - use stop('name of sound'); , or stop(); or
stopAllSounds();
Progress Bar:
Adobe LiveDocs
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=0000158 1.html -
Hi, I have a very simple MP3 player on my flash site in the
form of a movie clip.
1. When I open up the page the player is on, it starts
playing a song immediately despite the fact I added stop and
stopallsound action script. How can I fix the code so a song only
plays when the user clicks on the play button?
2. The music plays even when the user visits other pages
outwith the original music page which is good. However, when the
user clicks back onto the music page the song stops then starts
from the beggining again. Anyideas how to keep the music playing
continuously when the user visits the music page again.
3. How difficult would it be to add a progress bar so the
user could rewind/fastforward to different parts of a song being
played?
Thanks for any help, Ive attached the code.I am faced with the same issue. I have my player the way I
want it, but I don't want the music to auto start.
Meaning that the web visitor should have to press the play
button to hear the music.
anyone know the proper actionscript I need to add? -
Hi, im working for a simple mp3 player.
I have the music on the server, then on the "NEXT" button i
have:
stop member("songm")
member("songm").url = "
http://website.com/music/"&song_list[x
member("songm").play()
the member songm is a shockwave audio, i change the URL
according with the follow list:
song_list=["son1.mp3","song2.mp3", "song3.mp3"]
i must stop each time the member to get the other song
playing, it works very good, but for some reason make the internet
explorer crash, you can see a demo here:
http://www.idolofthebands.com/main/mp3.htm
it plays very good, but if you click on next or prev it
crash, some idea?
ty in advance.What do you see in the alert box, if you try it with this
line inserted before your stop function?
alert( member("songm") & " state: " &
member("songm").state )
- Ben -
Are there any cs4 source files anywhere for a simple mp3 player?
I looked in the components for a mediaplayer component and I don't see it.I found the MediaPlayBack component, but I would like to see something like it in an cs4 movie. I cannot publish anything with as2 because flash professional cannot find toplevel.as, even though it is there. It seems like there must be a basic mp3 player out there somewhere with the source code available so people don't have to start from scratch.
-
I want to write and Mp3 player in Java. For now I just want it to work in the command line and I will add the GUI later. The basic functionality I want is play, pause/stop, fast forward and rewind, volume up/down. I have heard that Java.Sound used to have a built in mp3 player but that they took it out because of copyright issues. Too bad.
I have allready found some nice tutorials on how to play Wav files. I really need to find a good decoder that can convert in real time and use it in my program. Also fast forward and rewind is giving me problems even with a basic wave file.
Any help would be greatly appreciated. Especially if someone can provide some source code for a very basic Mp3 player.Thank you.Hi
I too am interested in writing a Mp3 player but am unsure what is the best programming language to write it in. Java is my prefered language, but it seems that it will not be posssible as their are no mp3 libraries that support mp3 file playing in the current version of java.
I could use javazoom support classes but I prefer to write the programme myself.
So when will Sun re-release java, so it can play mp3 files?
Or what other language would be apporiate for a mp3 player?
Thanks
Ron -
Setting up Simple Flash mp3 Player
I have a page with some links to mp3 songs.
I would like to set things up so that when user clicks a mp3 link, a small flash mp3 player (embedded in the page) starts playing with that songs. The user could click on another song that would replace the last one at any time and have basic controls.
- flash mp3 player - need 1 that has start / stop and volume buttons (simple)
BTW: I set this type of thing up in the past with a frameset - top had quicktime player embedded - and bottom song links went to top frame - all was fine but kind of bulky.... looking for something a bit slicker...
Also would like to do the same for flash / quicktime videos
Also if there's something free or close to free that is a jukebox type where the song list is part of flash - that might be fun too....
Thanks in advance - daveWimpy MP3 Player will do everything you want (not free).
http://www.wimpyplayer.com/products/wimpy_mp3.html
Free Flash MP3 Player
http://www.flashmp3player.org/
Premium Beat Free Flash MP3 Player
http://www.premiumbeat.com/flash_resources/free_flash_music_player/#mp3Players
A Google search will reveal many others.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
hi
i am v e r y novice to flash.
i need the simplest mp3 player for my site.
single track as background.
just "play" and "stop" buttons.
a level button will be nice.
is there a something simple i can put on my site?
thanks very much
lennyplease help. i know almost no flash
i have an html page.
how do incorporate the single-track - background - mp3 player
in the page?
where should i put the code you sent me?
can i make it play a file called "music.mp3" ?
thanks
lenny
"kglad" <[email protected]> wrote in message
news:glj5np$dc4$[email protected]..
> as2 if you want to maximize the number of people that
can use your
> application:
>
> var s:Sound = new Sound(this);
> s.loadSound("yourmp3.mp3",true); // your mp3 will
stream. if don't want
> it
> to stream, use false
>
> playBtn.onRelease = function(){
> s.start();
> }
>
> stopBtn.onRelease = function(){
> s.stop();
> }
> -
Need help finding Ideal MP3 Player for my company to give as xmas gifts to our clients
<SPAN class=postbody>The company I work for is planning on giving away 50 Mp3 players to large clients--primarily because we started our own podcast site with daily Metals Updates ( investment company). http://podcasts.gbtg.net/ I picked up 2 Creative Labs Nano players, and found the setup was lengthy, and far from foolproof--if you are not very careful, the Nano would fail to be able to play the wma podcasts you push in from your PC. Worse still, I can not find a way to easily show cleints how to do an auto synch type of function, so the they can just plug the Nano into their PC at night, and yank it out the next day with the newly updated podcast in it...it would also be nice to delete podcasts older than 3 days or so.... Tech support suggested I try the sniffer function, which of course I had already activated---there was no discussion of how to use this functionally for podcasts. Does anyone have suggestions in Mp3 players better suited for this purpose, or for better software than the Windows Media Player or the Creative Media software they provide? Thanks, Dan
danvolker wrote:
Thanks for the reply. The 2 units I picked up are Zen Nano's. While I understand they are supposed to function much like external hard dri'ves, and that is a simple matter to just drag files from the PC to the Nano "dri've", when I did that, the wma files ( the podcasts) would show in the Nano lcd, but they would not play. However, after installing all of the software ( both Creative with sniffer, and the Nano Explorer) the Nano player began magically playing the podcasts.... I had the same experience of two separate PC's, with 2 separate Nano's. I don't really know what specifically made the Nano's play the wma files--if it was the Nano Explorer , if there was some driver that loads when you get the Nano Explorer.... I don't think it was the larger Creative MediaSource software with sniffer---on one of the Nano's I purposely did not load the Nano Explorer initially, and when using the Creative Media source to push the files over, it still failed to play within the Nano. You could easily play the files from the nano, on the PC through windows media player--as if they were on a firewire or USB dri've. But the Nano needs to be able to play the files itself away from the computer. Maybe the nano explorer helped--maybe their was some auto loaded codec that finally arri'ved with the time online... I have no idea.
That's strange. Are the WMA files licensed? If they are you have to copy them with MediaSource or Windows Media Player.
Back to the media sniffer....What I need is relati'vely simple instructions I can send to my clients ( a largely novice computer user base, with essentially zero exposure to MP3 players...they are investors, not generation X'ers :-) The podcasting concept appeals to all of them, but I need to make it very simple to pull the MP3 player out of its Xmas box, plug it into the PC, and have it auto update. We can pre-configure each MP3 Player we send out--if there is a brand where this would help. With the Nano the hardware does not have any pre-config settings that will help. So I'm back to looking for a software ona CD that will install simply and make this auto podcast download a reasonable function for these clients to be able to handle. Making them choose folders, set the folders as a library, then set the deletion dates for old files, and the synchronization behavior in general is too much work for people who have never done any of this. Once they experience the podcasts for a few days or weeks, they will be incentivised to learn "advanced" configuration proceedures---but I don't want this to begin this way.
Really all you have to do is enable the Media Sniffer, and if the files already go into the default directory then nothing else.
Then you would also need to sync the player with the PC, which is essentially just following the syncing process. -
How to calculate current time in mp3 player.
Hello friends
i am developing a small mp3 player in flex3.it is working fine but i need to find current time for its slider movement.i already calculated th length of song .but could not calculate the current time so that i can move pthumb of slider for my song.
i know its very simple but i m not getting any clue. so please help me out.
Thanks and regards
vineet oshomathsssss
http://www.mattlefevre.com/viewExample.php?tut=flex&proj=Basic%20MP3%20Player
Maybe you are looking for
-
Alright, lets say I'm watching a video on youtube. If I switch tabs, the video from youtube will appear in my top left screen and won't go away. Or if I go to any other site or program and try to open a file from my computer, the video will pop up in
-
Suddenly I cannot access one website
All of a sudden I cannot access one website at www.countrywalkers.com from any of the three Macs on my network. Two of them are wireless and one is ethernet-cabled I work for them so it would be helpful if I could do so. I e-mailed them and they have
-
Why is records number different?
Hi expert, I have loaded R/3 GL data into a cube(0FIGL_C01) successful. But one thing confused me very much which is: the transfered and added records' number is different. In my case, transfered records are 117991, but the added are 87929. I have ch
-
Performance issue after 10G upgrade.
All, We recently upgraded to 10G (Version:10.2.0.3.0) after which the below query causing the problem. This query is written in a pl/sql package called by a Perl program. The Perl program is running forever without completion during some attempts and
-
I would like to change some of the label on GRC Manager and tabs. Does anyone have instructions on how to do this? Thanks Paul