ActionScript 2.0 :: Audio Player - Uploading MP3 And Text
Jan 3, 2005
I made this player to be very extensible. The user just needs to upload his mp3's and a txt. When I debug there aren't any problems, but the sound doesn't come out. The text file needs to be called total_tracks.txt and the text inside that file is "totalTracks=2", where the 2 would be whatever number of files you have in your music directory. Instance names are playMusic, pauseMusic, nextTrack, and prevTrack. MP3 names are mp3-0, mp3-1, mp3-2, etc. and are stored in a directory/folder named "music."
This is my AS.
var musicFolderName:String = "music";
var curTrackNum:Number = 0;
var curPlaybackPos:Number;
var mySound:Sound;
var trackInfoArray:Array;
[Code] .....
View 4 Replies
Similar Posts:
Mar 11, 2010
Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?
A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.
View 1 Replies
Aug 25, 2009
I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
[Code]...
View 5 Replies
Apr 13, 2011
My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.
What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.
Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.
View 1 Replies
May 15, 2007
I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).
View 7 Replies
Feb 24, 2011
I am new in action script 3.0. i am trying to build an audio player which will stream audio(mp3 etc.) from wowza media server. the player needs to have a play button, stop/pause button, a play progressbar and a volume scroll bar. i am using NetStream object to paly the audio
View 1 Replies
Dec 24, 2010
Specs:
Windows 7 Ultimate 64-bit Browsers: IE (64-bit),
Chrome & Safari Flash Player: 10 ActiveX & 10 Plugin
Coded in Action Script 2
I made a flash banner to my friend so he could upload it on his site. [URL]. Image:
The flash banner on top loads in Mac OS X in every browser I try. On Windows though it works only on Firefox & Internet Explorer Beta 9. I disabled the firewall to see if that work, but no result. There's an inconsistency issue. At my workplace it works as it should. It's also important to note that other .swf files on the net plays fine, so it's only this particular site.
View 1 Replies
Mar 1, 2010
Actionscript:
System.security.allowDomain("http://" + _root.tdomain + "/");
import flash.net.FileReferenceList;
[code].....
View 2 Replies
Sep 3, 2011
I m trying to upload my website from Flash CS5.5 and I m getting following "error" on the web site : "Für diese Seite ist Flash Player Version 10.2.0 oder höher erforderlich " (For this Site only Flash Player Version 10.2.0 or higher is needed). I set up Action Script 3 and Flash Player 10 and 10.1. (hashed Flash Player recognize) in HTML settings.
View 1 Replies
Mar 14, 2010
I have a psd that is the background image on a site im creating, when i test the movie it looks fine however when i upload it to the ftp the text looks jagged.
[URL]
If you look on the edges on the cost of love logo you'll see what i mean.
View 1 Replies
Jul 31, 2009
Is there a script available that would allow me to pull audio from a server while still maintaing control of it with my buttons?
View 1 Replies
Dec 1, 2010
I'm taking a flash website template purchased by a friend and configuring to suit his business. Yesterday, I viewed the .swf file from my local machine, and everything looks exactly as it should. I also uploaded to my server to view live on the web in a couple different browsers, and everything was fine. Today, I uploaded a newer edit to the site and the .xml file to test the browser compatibility, and the text in my navigation has disappeared, and the content text is double spaced, causing major alignment and much of the text to remain unseen. This leaves the viewer unable to see which pages they are navigating to and they will see a poorly developed site.
To sum it up...it looked fine yesterday, then after some edits to both the source .fla and an .xml file that provides the content, i have issues after uploading it to the web.
You can see what I am talking about here: [URL]
I had some errors trying to upload the source files, but have them ready to send!
View 0 Replies
Oct 14, 2005
I'm in trouble, because i need to build a site for a customer who needs an uploading file system, but i can't handle it. He wants to have the possibility to upload images and text that will be visible in another page of the site. These are the offers of his shop, that will be shown as a list in another mc. This console should be invisible for visitors (i'll use a password system to prevent accesses).
I know there are many examples and tutorials for this ("flash upload file" in google), but im a newbee in programming and i really can't figure out how to solve this problem. It could be even a php system. I don't care about graphics cause it would be invisible for visitors. What i care is that those images and text are reported in that "offer list" mc. Finally, is possible to have an auto resize (pixels and kbs) of the images?
View 3 Replies
Mar 2, 2009
I have a flv file which is in spanish and I want to show the original video but I need to play the audio file which is in english. The length of the video and the audio file is same but I need to mute the audio of the video file and play the external mp3 file instead of it. Also the files will be hosted on a server and so the Streaming should be done for the video and audio simultaneously.
View 2 Replies
Jan 18, 2010
I'd like to add a progress bar to my flash audio player.Right now you press a button, a certain sound loads and then plays.[code]...
Why can't I access the properties of my Sound?
View 3 Replies
Jan 16, 2011
[url]...
Works just fine, but when I embed it into my page, it loads the video, but doesn't load the playlist / audio file as seen at[url]...[code]...
View 1 Replies
Mar 21, 2010
when you are recording or mixing a band in multi track, you have the bass drum in its own track, the snare drum in its own track, the lead vocal in its own track... etc.So my idea is this. I want to make a Flash player that can reproduce 5.1 mp3 files through a regular stereo set and let the user be able to mute specific tracks on the go.
Why this? Becouse I won't use them as a regular 5.1 audio, which its function is to hear audio in surround sound. In this case, I will use each track to put a different instrument, so in one you have the drums, in other the bass, in other the guitar, in other vocals and in other keyboards.
He can for example mute the drums, or hear only the voice... etc.It would be even better if the flash interface can look as a mixer and that each track has its own mute and solo button, and a fader to controll the volume of that particular track.
View 4 Replies
Oct 23, 2010
i am New to flex.Can any one point me to a small piece of mxml code which plays audio files(mp3,wav.....) also which has the capabilities to pause, play, stop.... the audio file. Also this file would be embedded in a html file later on..
View 1 Replies
Jul 6, 2011
I did an audio player using as3 and its working fine if run as using standalone player...If I embed in HTML..
View 1 Replies
Aug 10, 2009
I've got an audio skin that's playing one .mp3 song, and I'd like there to be a total running timer so that the user knows how long they've got to go to the end. Everything is working but the timer--it just stays at "0:00". It's at the bottom of this script.I'm new to this, so nothing seems logical to me. I think it's in the last two lines. I'm just not hooking things up right.[code]...
View 2 Replies
Oct 18, 2010
So right now I have a pretty simple audio player, it loads up and plays using this [code]...
So my issue now is I need to add fast forward and rewind capabilities, my thought was to have it actuate a movie clip which say sets it back 5 seconds then has a few open frames to play a section of the song then loop back if still pressed and do another 5 seconds etc.
View 0 Replies
Aug 23, 2011
I'd really like to convert this audio player to load its info from an XML file.[url]...
View 4 Replies
Apr 8, 2008
I have an XML MP3 player on my stage with a Play and Stop button. I was wondering how i'm able to add a fade to the audio once the Stop button is pressed instead of an immediate stop.
View 1 Replies
Jun 28, 2009
I'm looking for a flash video player and a flash audio player with playlist that I can customize.
View 2 Replies
Jun 18, 2010
Im looking for a why to display the current time position of a song playing in an audio player in a dynamic text box. I know the soundChannel. position references the current point of the songs, but I need some conceptual help translating that to a string and 00:00 time format dynamic text box
View 1 Replies
Nov 17, 2010
I have a swf loading in another swf that has a video player in it. When I remove the swf from the stage, the swf goes away but the audio from the swf keeps playing. Is there a way to tell that swf to stop playing from the parent swf?
View 7 Replies
Nov 16, 2011
So far my code stops the sound but once it has stopped the sound no longer works. I don't see any errors reported. It is as if the event listener no longer listens...
stop();
var soundClip:Sound = new Sound();
var sndChannel:SoundChannel = new SoundChannel();
var soundClipCompleted = false;
var isPlaying = false;
soundClip.load(new URLRequest("tune.mp3"));
[Code] .....
View 2 Replies
Oct 15, 2009
I was curious as to how I can make an audio player with a track bar, play, pause, stop, and volume slider. Most of the tutorials or free download files I find don't have all of these features.
View 0 Replies
Jan 28, 2012
I recently created my first mp3 player in FlashCS5- fully coded with a countdown timer and audio meters for each channel. However, when I play the music- the audio meters only respond to the tick down of my timer. So in short- the meters only respond everytime the timer digits change. Have I missed something in the codeon what I need to do to make the audio meters more fluid with the music audio?Timer and Audio Bar Code:
import flash.utils.Timer;
import flash.events.TimerEvent;
var myTimer:Timer = new Timer(10);
[code].....
View 0 Replies
May 2, 2002
What im trying to do: well basically I want to create an audio player in flash. I would like for it to have buttons for next and previous track, pause, stop, play, and display song info.Basically the one here at the bottom of the page:[URL]So what I got down at this point:
-Creating stop and play buttons that load/unload external swf files that contain the song.-Show track info.-Creating next/previous track buttons so I can rotate between more than one song.-Pause button.
View 5 Replies