ActionScript 2.0 :: Showing All Songs In Player Using Scrolling Options
Feb 5, 2010I am new to flash and I am finding a way to use the scrollbar functions to scroll the song names,
Video source. [URL]
I am new to flash and I am finding a way to use the scrollbar functions to scroll the song names,
Video source. [URL]
I am having a problem with CS3 Flash and the toolbar on the left. Certain tools have options and those options are not showing up. Yes, I went to Customize Tools panel and checked and those options are listed to the right of each tool that should have them (Example: Rectangle tool: oval tool, polystar tool , etc) and even hit reset to default and still those options do not show up on the actual toolbar. I made a graphic thinking that would make them show up and no it didn't.
It seems to be a problem for each tool that has a options and they are
1. Free Transform Tool,
2. Pen tool and
3. Rectangle tool.
I'm having issues with this array I setup for a MP3 player I am creating. First I'm trying to plug in the array in the URL Request, not sure if I need a for loop. Also in my onComplete Function below, I want once one song is finished in the Array, the next item in the array plays or if there are no more items left it goes back to the first item in the array. Not sure if I am setting this up properly
var songArray:Array=["song1", "song2", "song3", "song4", "song5", "song6"];
var songReq:URLRequest = new URLRequest("mp3_files/song" + songArray + ".mp3");
var song:Sound = new Sound();var channel:SoundChannel;var pausePosition:int = 0; // var
[code].......
I found this nifty code (here) for an MP3 player that uses XML/URLRequest to load the songs in.I'm trying to implement this code on my own application, and I've run into a couple of errors.I've got the XML loaded into the application, and it's showing up in a List component.But it's not letting me to play songs from it quite yet.This is the error I'm getting:
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.at BACKUPmusikkavspiller_mariuskristian_eksamenRIA_fla::wholeplayer_12/frame3()[BACKUPmusikkavspiller_mariuskristian_eksamenRIA_fla.wholeplayer_12::frame3:6][code3].......
I've read something about IOErrorHandlers, but I'm not quite sure how to use them, where to put them and what to read from them..If needed I'll paste my full code. The original code is from here <-, as posted above.
I have a music community website, visitors can sign up, upload mp3 files, their files get uploaded into their own folder named '$id' in the php code, (if they are the 10th member to sign up, their folder would be named 10, and so on)
I have a prebuilt flash player that I want to playback the mp3 files just for that member when their profile is being viewed, I have some code in the mp3 upload script that automatically writes an xml file to their folder containing their song data, with Andrei1's help, I got that part working using flashvars, now the problem I am having is that I can't get the songs to play back, the data is there but no music.
as I said I am using a prebuilt flash player that is using a static call to a directory, so should I use flashvars again to load the mp3 files into the player? and I also need help figuring out what to change in the actionscript.here is the object embed src for the html:
<param name="movie" value="flplayer1a.swf">
<embed src="flplayer1a.swf" FlashVars="xml=<?php echo "members/$id/playlist.xml" ?>"></embed>
<param name="FlashVars" value="xml=<?php echo "members/$id/playlist.xml" ?>">
and here is the actionscript code for the playback on frame 1
stop();
var myFormat:TextFormat = new TextFormat();
myFormat.color = "0xFFFFFF";
[code]....
I have a flash player which can play the songs stored on the Local Server, under "mp3" directory.
I would like to modify this player, so that i can play the songs stored on the remote server, through an API.
Following is the code of the player [code]...
where on this site or another site can I find a good in dept tutorial or tutorials on control over music and sound IE loading, playing, and so on. I know the basics but im trying to make a player with multiple tracks and songs that are too big to just place in the flash movie
View 8 RepliesHow do you create a streaming MP3 Player with multiple songs? My dilema is not getting the song to play but how do you create it so that no matter which song its on it will go to the very next one? like if it is song 3 go to 4. Because that would be a variable that would constantly change.
View 1 Repliesi want to make a fade volume between songs to songs...this is the function i have made... what's wrong?
Code:
fade.onEnterFrame = function() {
new_volume = 0;[code].....
Im new to the AS3 game but I need some help with something. I have built a pretty good website mp3 player but it plays the songs in order. I want the the mp3 player to play a different song everytime it loads.[code]
View 2 RepliesI recently made an mp3 player that reads off of a text file so that users may cycle through a selection of songs. I'm trying to extend it a bit by setting up the mp3 player to display the songs names an their duration (5:45) I'm pretty confident this is possible and I've tried a number of things and read a number of threads and tutorials but I'm still stumped.
[Code]....
I'm looking to create a music player where one can upload songs from any computer on the web and play them back... is this possible and if so how would I go about creating it?
View 1 Repliesif I go to transport and keep interchanging between the two options the buttons for scrolling or forward keep freezing up after some time...not immediately, I am going nuts trying to solve this can someone tell me where I am going wrong, all the files source, text and html are (in two zipped folders)
View 14 RepliesI've been messing with this for almost six hours now and am at the end of my wits. I need a flash mp3 player that follows the following guidelines:
*all encased within its own movie clip
*loads four different songs, one after the other (event)
*each song displays its own loader
*user scrolls through song selection and plays available (loaded) ones
*first song plays when loaded and continues to the others
any tips on where to go with this? do I create four different sound objects since later songs are loading while the first are playing?
I have created an online streaming radio on Shoutcast website, now I want to add this radio player in my website to let user listen to my radio while browsing the website, I have no problem with that, but I want to add some extra features to my flash player as following :
1- Show Song Name
2- Show Singer name
3- Show Previous Song Name
4- Show Next Song Name
5- Show Singer Photo
I am currently working on a project that embeds a flash game, that uses Smartfoxserver for the flash communication. That communication is mostly just synchronizing the cursor and object movements between the two players.Since I am not a flash guy, but a ruby programmer, I got curious: What kind of communication options does flash offer for this kind of time sensitive data exchange? I was thinking of writing a ruby-eventmachine based communication server to minimize the dependencies on external programs.
View 2 RepliesI am in the process of making my first FLV player in Flash CS4, for videos I plan to upload on my site. The play/pause/rewind buttons seem simple enough. However, I have searched and can't find-a timeline 'duration' that tells how many minutes have been played and how many total there are-a fullscreen button that toggles full/not fullscreen in the browser-if possible, some way to manipulate the timeline (e.g. drag the cursor forward to make the movie skip ahead)or explain to me how to do thisAs I said, I have searched for the above and found the play/pause/rewind tutorials but no timeline/fullscreen ones.
View 2 RepliesI am able to generate dynamic sounds using flash player 10.Is there any way to save the data to a .wav file on the server?
View 1 RepliesI'm not sure if this is the right spot for this question but i want to edit an xml flash player so that it creates the playlist with the name i want and not the default. Can some please tell me how to edit this so that when the player locates songs in the folder "my_mp3s" it creates an xml playlist named "mymusic.xml" instead of the default "audioplaylist.xml". I tried to edit the actions script of the player and overwrite the changes but it still doesnt work,
[Code]...
I've downloaded the the Flash mp3 Player. I did some minor modifications to it and it works well. The only problem I have is that when the mute button is pressed, the current song is mute(s.setVolume(0)), but when the next song comes up, the mute button is not in mute state(Volume not set to 0). I want to keep the mute state unchanged when the songs are playing untill the mute button is pressed again.
View 6 RepliesIm building a program that queries a database for options and displays the options in a number of comboBoxes. The comboBoxes are dynamically built and loaded via code and added to the stage. I would like to build the comboBoxes into a single movie clip (maybe not the correct wording) so I can use options like tweening and such to make it look better. The code is below.
package classFiles
{
import flash.display.MovieClip;
[code]....
I am trying to implement a Flash YouTube video player on this page. [code]...
The only problem is that the player does not show up. Scroll down the page and right below Secondary Headline there is a large white space - this is where the player is.
I have tried it in isolation here and it works fine, but something is messing it up on the destination page.
How do i make a player with a bar (showing where you are in the movie)?[url]...
View 2 RepliesI have created a small game using flash 8. But the preloader is not showing, white screen is there till the game loaded. Once all the bytes got transfered it displays.This code was working previously. Is this is a problem with the current flash player? I have tried with some other preloaders as well. None of them is working. Below is the code.
stop();loadingBar._xscale = 1;var loadingCall:Number = setInterval(preloadSite, 50);function preloadSite():Void { var siteLoaded:Number = _root.getBytesLoaded(); var siteTotal:Number = _root.getBytesTotal(); var percentage:Number =
[code].....
I am trying to debug application which fails on me silently online. I am a 100% certain that I am running the flash debug player. To even make sure I am not losing it, i throw an Error ON PURPOSE. But flash shows not a single stracktrace in the browsers. I am kind of close of losing it. Any clues ? I am trying this on chrome, and firefox. WTH? Compiling with FDT, debug mode, even set the compiler argument debug=true. This is normally not the case.
View 3 RepliesIn Internet Explorer 7 and 8 (WinXP/Flash 10), if I play my videos using the JW Player in the slider they work. However if I move to the next slide and then return to the original slide the video is no longer displayed - the audio is still audible and the video can be played and paused, but there is no image.
I've asked this question on [URL], but the support member cannot see this problem on their computer. Does anyone else see this issue, and if so, You can view the slider and video here: [URL]
I'm new here and relatively new to Flash. I'm attempting to build an mp3 player to add to my website using the "Flash MP3 Player" tutorial. The problem I am having is that the scrolling text displaying the song information is acting all strange. It only scrolls 2 letters over to the left and then 2 letters over to the right and also doesn't fill the entire text box (it leaves a section of empty space on the right side). What I want is for the song info to continuously scroll left to right like a marquee sign while each song is playing.
[Code]...
I've created an MP3 player based on the now classic code at:http:[url]....One of the shortcomings of the player (that users seem to notice) is that the listbox doesn't scroll to reveal the currently selected item when the player is in "continuous" mode. The selected items disappear from view. I'm wondering if using FListbox.getScrollPosition and FListbox.setScrollPosition could be used to get the listbox menu to update and scroll the current selection to the top of the menu screen. If the listbox data object siimply returns an index number it seems like that number could be used to feed the getScrollPosition function.
View 3 RepliesI am having a problem with my flash not showing up in browsers without current flash player. I tried to use the following script but it did not work.I am just trying to make it to where if someone doesn't have flash it takes them to a flattened non flash page.
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 6;[code].....
I am completely new to this with flash and action script. I checked the Flash MP3 Player tutorial and I wonder how I'm doing a previous button and a volume scrolling button in action script?
View 1 Replies