Flash :: Create A Very Simple Mp3 Player?
Oct 21, 2009
with the FLVPlayback component i can get a nice looking basic player for .flv files easily..is there some way to set up the same functions to create a very simple mp3 player with flash?
View 1 Replies
Similar Posts:
Jun 3, 2010
I am trying to make the SIMPLEST POSSIBLE MP# player using the player component preinstalled in flash.It is very simple, the code is as follows:
Code:
on (release) {
player.contentPath ="Song.mp3"
player.play()
}
("player" is the mp3 component)
This works if I want a single track to be selected and played.Now, I need it to AUTOMATICALLY LOAD THE NEXT TRACK, which I will input in the code.I am thinking something like this:
Code:
player.onSoundComplete = function() {
player.contentPath ="Song.mp3"
player.play()
};
But this is not working.
PS: I know an XML file would be the best here, but I don't want to use it. I just want to enter the next track's code inside the swf.
View 2 Replies
Jan 16, 2010
I'm trying to create a simple image player that tweens from one image to the next every 5 seconds. The data is being pulled from xml.
So far, I have managed to load the image onto the stage, but am now stuck as to how to get it to remove the child showing, the add the next child every 5 seconds.
My Code:
Code:
var tweenTimer:Timer;
var imageLoader:Loader;
var xml:XML;
[cod]...
View 1 Replies
Jun 13, 2010
I have a html 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,
View 2 Replies
Jul 25, 2011
I am trying to create a flash player to display images in sequence using Flash player & ActionScript. The code below has lots of errors and I can't work them out. I have programmed in other languages and am perfectly aware that something like this.
*code*var imageLoader:Loader;imageLoader = new Loader(); // 1120: Access to undefined property imageLoader*/code*
OR*code*var imageLoader:Loader = new Loader(); // 1046: Type was not found or was not a compile-time: Loder*/code*
[Code]...
View 9 Replies
Aug 1, 2011
Flash is not in my toolset, but I am an old Director jock and have spent some hours dipping my head into the Flash manual. I suppose that makes me a promising beginner-level poster. I'm working in CS5.
I need to make a simple Flash-based sound player for a website for a newly-released novel (http://www.bearriverbooks.com/index.html). I want the user to click on what appears to be an icon (or image), which kicks open a simple controller and starts playing a sound file (a radio interview, which I will probably export using Flash's voice compression). Nothing fancy. Just want the visitor to hear the sound and be able to apply simple controls (stop/start/rewind/volume).
I can learn ActionScript, I suppose, since I used to dream in Lingo, but my life would be a lot simpler if I could just publish a controller without having to roll my own. I'd like to think there's a magic button somewhere that can do this, but I haven't found it yet.
View 4 Replies
Mar 7, 2012
I am working on a game. All behavior was as expected, and I got no crashes when testing on my machine using FlashDevelop and the Flash Player. But if I open the .swf in Chrome directly or through the Kongregate test area, the game crashes 100% of the time that that function is called.
[Code]...
The selectDebater function is not new, and has never had a problem.
View 6 Replies
Jan 2, 2007
I have Macromedia flash 8.0 and i want to create a simple ticker which contains Text that scrolls right to left,over and over.
View 3 Replies
Nov 10, 2009
I go to create a simple navigation with a set of buttons in Flash. For some reason when I go to type the name of the buttons my font is messed up and not smooth.... I am not sure if this is a setting or what, totally confused.[code]...
View 1 Replies
Aug 20, 2011
How can create preloader in flash (AS2).
View 7 Replies
Jun 27, 2010
I really don't want something sophisticated, in fact I want the simplest animation for learning purpose:I just want to move a shape on a straight line.Is it possible to do so in pure actionscript (with flex sdk only) by creating a timeline programmatically or without creating timeline ?
View 1 Replies
Jul 13, 2011
When I create a simple button in flash with AS3, I get a "flash" when I click on the button that echos the background color (so if I am going from one bkg color to another, you can see it). The flash is the rectangular shape behind the button.If I create the button with AS2 code, it doesn't happen![code]
View 2 Replies
Jun 4, 2007
I am wondering how to create a basic flash counter.
As in, when something happens, I want a variable to equal 1, and then, if something else happens, I want that same variable to then be 2.
Etc .etc.
I think there is something to do with ++ , but I'm unclear about the syntax.
View 1 Replies
Jan 14, 2011
I'm trying to make a simple flash mp3 player with a play/pause toggle button called toggle_btn. The button is actually a MovieClip with two buttons inside it: play_btn and pause_btn, which live in different places on the MovieClip's timeline. That all works fine, and when I press the play/pause button for the first time, my music plays as expected.
However, when I press it again to pause, it keeps right on playing. If I push it again, the button gets all glitchy, and doesn't go into its rollover state when it should nor toggle when clicked.
Here's my ActionScript:
Code:
// load the playlist
var getFile:URLLoader = new URLLoader(new URLRequest('songs.xml'));
var numSongs:int = 0; // number of songs in playlist -- we'll set this later
[Code]....
View 3 Replies
Mar 31, 2009
I wanted to create a simple flash contact form for my flash website. I went through Lee's tutorial on how to create the contact form and PHP file to go with it. I've uploaded everything to my server and tested the form. My flash form consists of Name, Subject, Message, and Email fields. When I receive the email all that comes through is this with none of the actual message that was written IN the contact form:
Name: Subject: Message: Email: The 'From' field is also blank. I don't know if my problem is with flash, my PHP code, or with my server. Can someone take a look at this and tell me what's wrong? I can't seem to find any errors from Lee's tutorial with my code or labeling.
[Code]...
View 5 Replies
Jul 21, 2010
I am a newbie in flash actionscript. My assignment needed me to create a simple flash mathematics game for mobile. Some Mathematics question will appear in order and 4 options will be provided for each question. On the top, there will be an object. The object will move 1 step forward if the answer for the question is correct. But if the answer is wrong, there will be a popup message "try again". when the object move to the ending point. You win the game. And the timer will stop timing and record the time in the memory. And the time will be display in a high score tab.
View 0 Replies
Apr 4, 2011
i'm trying to create a simple paint visualizer in flash. need to display two walls for example and a vertical color palette for the user to choose from. an example would be the following link [URL] (it's very advanced compared to what i need but i couldnt' find a simpler one on the web).
View 3 Replies
Feb 25, 2012
I am working with old "cs3 flash" project, and to save image in file system, i need to create .exe installer that install one image.
View 1 Replies
Jan 31, 2009
I'm trying to create a simple flash that will draw the Mandelbrot set by looping through coordinates, sending those coordinates through iterations of the Mandelbrot function and drawing a line at those coordinates, who's color is dependent upon the amount of iterations taken. Here is that code:
ActionScript Code:
var dot:Sprite = new Sprite()
this.addChild(dot)
for (var X:int = 0; X <= 500; X++) { //Iteration for horizontal
[code]....
View 2 Replies
Aug 30, 2011
I was wondering is it possible to create a simple flash file that allows users to make their own spider diagram and then print it.
Is it just a matter of letting them create their own boxes and labeling them?
View 3 Replies
Aug 17, 2004
I want to create a simple high score list of 10 high scores of a game. From reading the forums I seem to get the idea that flash cannot create a simple text file. I don't have php or asp but do have cgi capability. Does anyone know where I can find a simple cgi-script that will allow me to write the text the cgi receives to a simple text file: game.sco I want to be able to write a single long string to it so that I create a string of values and can load it back in using flash loadvariables. I can create the string in flash... but how do I write it to a text file using a cgi script? the text file would include this string...I already know how to read it and split it to parse it into arrays:
[Code]...
View 1 Replies
Jul 4, 2009
I'm trying to create a very basic player for my very basic site.
View 3 Replies
Jan 21, 2009
I want to add a really simple music player to my flash website.Basically all i want is one of my tracks to start when the page loads.Then a simple 'sound on/off'.
View 6 Replies
May 1, 2009
I am oriented around html/css webdesign, and graphic design in photoshop, but know nothing of Flash, and i am attempting to learn!I have found a lot of complex tutorials but none that fit my specification. All i need to know is how to make an interface incorporating a play button which plays a .flv file. I already have a .flv file ready and the graphic i want to use for the button, but no idea how to begin.The .flv i want to play is a short 3-4 minute clip of someone talking including audio - i dont know the best way to play it and have heard of different options including embedding or somehow linking to an external flv file.I have tried various tutorials to try to achieve a simple interface with play button - i dont need a skin, rewind, forward, etc, just a play button and for it to go away while the video is playing, and perhaps a pause/stop button in the corner of the swf, over the top of the flv file itself. But I have had no success, mainly due to errors within the actionscript.
View 17 Replies
Feb 2, 2010
I tried to add an video to my simple player created using as3. It can only adds videos which have file sizes less than 10 MB. Is there any way to add larger flv files.? Any way to dynamically load files while half of it is playing.
var nc:NetConnection = new NetConnection();
nc.connect( null);
var ns:NetStream = new NetStream(nc);
ns.client = this;
ns.play("Song1.flv");
View 0 Replies
Jun 28, 2011
I am developing a simple swf player. I have designed interface. It will have play, pause, previous, next and mute buttons.
View 2 Replies
Aug 8, 2011
I need to know how i could create a flash player like youtube ....I want build a web site in which upload videos and play them with a my personal player.maybe i must learn actionscript 3 language, but is there a prompt code to utilize and modify according to my taste?
View 5 Replies
Jan 20, 2011
I would like to build an online MP3 music player based on flash. But the template for the player should be like what it is being used in http://SoundCloud.com (like this one for [URL].. getting started with Flash and using this template.
View 1 Replies
Jan 17, 2010
I'm trying to make a simple MP3 player for a music website: one singer, several song... how to make a mp3Player with a playlist loading from XML file?
I could make a video player using FLVPlayBack with playlist from XML File in a List Composant, but i can't do the same think for audio file, using MediaPlayBack?
View 6 Replies
Mar 30, 2012
I want to make a simple multi player game so any one give me sample code or how to do that ?
View 1 Replies