ActionScript 3.0 :: Video Player - Clearing Data (Playlist) In URLloader

Jul 7, 2009

I am a fairly new as3 user and am working on a video player that loads an xml file into a URLloader as a playlist. I have everything working but I want to add a few buttons to change the content of the playlist. All of the data will come from the same xml document, so I don't think i have to reload the xml. I can get the content to load when the button is pushed, but it jsut adds to the previous content instead of replacing i. How to clear the content before adding?

Here is my code (that relates to this) so far....
public class playlist_controller extends MovieClip {
private var xml_loader:URLLoader;
public function playlist_controller():void {
////load the xml file
xml_loader = new URLLoader();
[Code] .....

View 2 Replies


Similar Posts:


Data Integration :: Xml Video Playlist - List To Change Based On Whose Accessing The Player

Jul 3, 2007

I have a flash video player whose playlist is based off an xml list. Now, I need this list to change based on whose accesing the player. So: Client gets a link, clicks on link, player shows their video. Another client clicks on another link, player shows their video,

View 1 Replies

Actionscript 2.0 :: Mp3 Player And The Video Playlist?

Jul 12, 2009

I have succesfully added the Flash MP3 Player and the Video Playlist to my flash site.The music in the MP3 player works fine, so does the video playlist but the problem is i have to pause the music before going to the video page or else they play together.I want to be able to automatically pause the music when i hit the button to go to the video page and when i click a button to go to a different page i want the video to stop or pause and the music to resume playing.Heres the code for the mp3 player and the Video code is further down:

Code: Select all// Setup sound object
var s:Sound = new Sound();
s.onSoundComplete = playSong;[code]..........

View 13 Replies

Flash Video And Audio Player With Playlist?

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

Actionscript 3 :: Flash : URLLoader Data To Video Playback?

Nov 15, 2010

Without getting into the details of why (its for school) I'm trying to use a custom preloader I've created to load a Flash video.I've created the animations, and the loader functions, but on the Event.COMPLETE event, how do I pass the data I've loaded into myUrlLoader to an FLVPlayback component?Or should I even be using the FLVPlayback component? Everything up till:

myUrlLoader.addEventListener(Event.COMPLETE,
function(e:Event){
//what do I do?
});

...seems to be fine.

View 1 Replies

Website FLV Player With Playlist

Oct 18, 2009

I would like to have a simple flv player on my website.But this player should have a playlist.I cn create inside Dreamweaver just a simple player skin... but it doesn't allow me to generate a playlist.

View 1 Replies

ActionScript 3.0 :: XML Playlist Under MP3 Player?

Jan 28, 2009

I have an as3 mp3 player that loads a random file from an xml list so every time the user opens the player a random song plays and when song finishes or the user skips the song it goes to a random song also. I want to create an interactive playlist under this mp3 player. is this possible as the songs that are played are at random?

View 4 Replies

ActionScript 2.0 :: Xml Playlist Mp3 Player?

Feb 21, 2010

i am trying to create an xml driven mp3 playerbut one that displays all the songs in a listwhich users can then click on to select the song they want to play.two examples:[URL]

View 2 Replies

Javascript :: Feed Video Byte Data To Flash Player?

Jan 21, 2012

Is it possible to, using javascript, either create video data on the fly, or more likely download pieces of video data from various sources and feed them to a flash player instance.

Even better, is it possible to feed a html5 video stream from locally executed javascript?

View 1 Replies

ActionScript 3.0 :: Clearing And Replacing XML Data?

Jul 24, 2009

I'm creating a gallery of thumbnails and main images from a loaded XML file.The initial load is fine and all is working, Thumbnails are produced in a masked movieclip and the first image is defaulted to display at start perfectly well. The gallery also has several categories in it which a user can view by clicking a button for each. eg Sites, Designs, Cards etc. Each of these categories information are held within different separate XML files. eg sites.xml, designs.xml and cards.xml etc.

Now here lies the problem. When a user clicks a new button the new XML loads the new information and the files display, but on top of the thumbnails/main images that were already present because the file that was initially open has not cleared. So what I want to do is simply remove the data that is currently being displayed, so in essence removes the images etc. Then replace those with the images from the new XML file.Is this at all possible because from searching the last week I haven't been able to find it. I guess I can't see the wood for the trees at the moment.

View 7 Replies

Xml :: Flash MP3 Player Loop From Playlist

Sep 18, 2010

I have an mp3 player based on the School of Flash code. When I click "next song" I need it to go to the next song, unless it's the last song in the playlist in which case it needs to go back to song number 1 in the playlist.

The following code doesn't seem to do the trick

var songlist:XMLList;
var currentIndex:Number = 0;
and..
function nextSong(e:Event):void

[Code]....

View 1 Replies

ActionScript 3.0 :: Flash Mp3 Player With Playlist?

Jul 25, 2010

I was trying to build a flash mp3 player for my website to help sell my music. The flash mp3 player needs to have a playlist with "Buy Now" buttons next to each song in the playlist, that link back to my paypal for easy checkout.Im not sure if I should try to code this in AS3 using the ListBox Component or the Datagrid Component. Either way, its all coming down to the fact that I need to learn how to embed Images, Mp3's and Links in each row of the playlist.Here is a couple examples of some cool looking flah mp3 players that Im trying to build:

bigboytraks.net
illbeatz.com
myflashstore.net

*NOTE!!!* I'm not asking anyone here to build me a whole mp3 player. Im simply asking the main question of how to populate either a list component or datagrid component with sound and links right next to each sound in the playlist/rows.

View 0 Replies

Actionscript 3.0 :: Make XML Mp3 Player With A Playlist?

Mar 5, 2009

Does anyone have some good tutorial about making an XML mp3 player with a playlist?

View 13 Replies

ActionScript 2.0 :: A Mp3 Player... Without A Clickable Playlist?

Nov 4, 2006

I have a mp3 player... without a clickable playlist. I'm having issues making the clickable playlist. Its XML powered so i have to create the playlist on load. right now im trying to create a for loop that would attach a movie clip for each song but it isn't working very well.

Code:
playlist.onLoad = function(success) {
if (success) {
_global.songfile = [];[code]....

View 2 Replies

ActionScript 3.0 :: Creating MP3 Player With Playlist?

Jun 5, 2009

How we can create a basic Flash & ActionScript based mp3 player with a playlist that displays songs and allows you to choose from it? I know how to make the basic player with the play, stop, next and previous buttons but wanted to create one with a playlist.

View 2 Replies

ActionScript 3.0 :: Creating A Mp3 Player With Playlist?

Apr 19, 2011

I'm creating an mp3 player with playlist, equalizer etc. I've worked with an equalizer before, however I want this equalizer to display outside of the playlist movie clip where all the track information is stored.

So this is my code:

[Code]..

View 3 Replies

Silverlight :: Get Video Streaming Data From Flash Player To View On Phone?

Jan 30, 2012

Is it possible to investigate an html page that views a video streaming data using flash, and then use these data to view it on the phone? For example Al Jazeera website has a streaming service. I've looked through the html page and other resources using chrome developers tools. I found a lot of data, but couldnt figure it out which data I need.

View 1 Replies

ActionScript 2.0 :: Clearing And Reloading XML - New Data Comes Up Undefined

Jan 29, 2009

I can load the xml in the first time just fine but when i try to reload the xml to get the new data it comes up undefined. What do I need to do? Do i need to clear the xml object and then reload the data? Am i reloading it wrong? I call the code again using this function and the data comes up undefined

[Code]....

View 1 Replies

ActionScript 2.0 :: Clearing All Stored Data In An Array?

Apr 30, 2007

I was wondering... i thought this might be a dumb question to ask but ive been wondering if it is possible to remove all the data that was inserted into an array?

i.e.

ActionScript Code:
var loadAllThumbnails:Array = new Array("poop1", "poop2", "poop3", "poop4", "poop5");
someBtn.onRelease = function(){
//clears/emptys the array when released
}

View 4 Replies

ActionScript 3.0 :: FLV Player Remote Xml Playlist Not Loading

Feb 9, 2009

I have this FLV player that pulls all of the data (poster frame url, flv url, etc...) from an external xml file "prefs.xml" that's in the same root as the swf. That all works nicely.[url]...

I know cross-domain policies come into effect, and I actually have one hard-coded into the swf, and linked from the prefs.xml file so you can change the url of that document.[code]...

View 1 Replies

ActionScript 3.0 :: Creating Scroll Bar Playlist With FLV Player?

Oct 19, 2009

I'm trying to create a flv custom player with scrollable playlist, much like youtube's. Anyways, I have a scroll bar with the buttons inside of it. The problem is the buttons that are inside the scroll bar do not want to communicate with the main timeline. So I want to press the button inside the scroll bar and have the selected video play on the main time line. So if the buttons are three movie clips deep into the timeline how do I tell it to play video1 on the main timeline when that button is clicked?

View 1 Replies

ActionScript 3.0 :: Player With External Html-playlist?

Nov 22, 2009

I made a video player in flash (AS 3.0, Flash CS3), which plays an .flv file.It works great and when I export it, I get an perfectly working .swf file that plays the .flv file.But what I want now is to make the .swf file play different .flv's each time. So I want to create a playlist. But the playlist must not be in flash but in HTML (and javascript I guess). So I want that one link in the html can influence the .flv source of the .swf player. (right now the .flv source is included in the .swf file).

View 2 Replies

Flash :: ReverbNation Music/playlist Player?

Jun 20, 2011

Anyone have any idea about how works the player ReverbNation? When I'm browsing the website, the player don't stop. It's still playing the song without pause o cut. And nor have frame/iframes.

View 2 Replies

ActionScript 2.0 :: Free Youtube Player With Playlist?

Apr 3, 2011

Does anyone know where I can find a free youtube player with a playlist in (AS2)?

View 1 Replies

MP3 Player - Reading From Dynamically Created Playlist?

May 6, 2009

1) If you have various instances of the player on the same page, would I be correct to assume that there is nothing in place to make sure that only one instance is playing at the same time? if so is there a way round this?
2) How would you go about reading from a dynamically created playlist? say for example for use in a record shop where each record has 2-10 tracks but records are being pulled from database.
Or would it be best to pull playlist directly from the database?

View 1 Replies

ActionScript 3.0 :: Clearing Locally Loaded Video From Memory?

Mar 4, 2011

I'm using the code below for loading my flvs. What kind of function and parameters are needed to make sure the video is cleared from memory? In order to stop the sound, I'm using SounMixer.stopAll() which works fine to stop the sound, but when I unload the video and stop the sound, I can see that memory is still being consumed. I've been reading about nulling a netstream, but since I'm loading my flvs locally for this project, how do you ensure that the video is fully unloaded from memory when not using a netstream?This example dynamically creates an FLVPlayback instance. To run the example, follow these steps.

1.Place the FLVPlayback component on the Stage at 0,0 and provide the instance name player.2.Replace videoPath with an absolute or relative path to an FLV file.3.Save this code as FLVPlaybackExample.as in the same directory as your FLA file.4.Set the Document class in the FLA file to FLVPlaybackExample.

package
{
import fl.video.FLVPlayback;

[code].....

View 5 Replies

ActionScript 3.0 :: Dynamic Audio Player With Playlist Flash

Feb 25, 2009

I'm trying to brainstorm ideas on a site I'm managing. [URL]. (Once the page loads, click on "The Fixx" menu option). On this page, I have a list of radio shows that this DJ has produced. It's a compilation of songs that he posts up twice a week roughly. Currently the way it's setup... is you can click the button and it opens a pop up window with a player that plays the corresponding file. However... I want to be able to have a window open up that has a playlist of the songs contained in that mixshow in the bottom (Not something they will be able to click on to go to a particular song, just something that tells them what is on this show) and the player at the top. I also would like the capability of dragging through the song so they don't have to listen to the whole thing. Currently it's abit cumbersome, and I know it'll drive more viewers if I add playlist functionality.

View 1 Replies

Creating Dynamic Movie Player With Flash (with Xml Playlist Or Etc)

Jun 16, 2009

I need to create a dynamic movie player in the flash website, i tried Import Video... (File > Import >) , then i put a relative URL of xml file (e.g. xspf.xml) under the "Already deployed on web server..." option. but the video doesn't show nothing at all.
 
This is my code in xspf.xml:

[Code]....
 
is there any other better or easier way to create an flv player within flash website which support multiple video file as a playlist?

View 1 Replies

Video Playlist With Description For Each Video?

May 27, 2009

I'm trying to create a page for one of my clients where I will store a bunch of videos. I came up with something like this.[URL]..You click on each button and you watch different videos. Pretty simple! Now my challenge is this: I would like to display different descriptions for each video whenever the viewer clicks on one of the buttons with the video names.

View 2 Replies

Flash :: Mp3 Player With Playlist Playing The Song That Has Been Deleted Or Changed

Dec 22, 2010

I downloaded player from [URL].. but I don't know why what the problem it had with with playlist. I had a playlist in xml file with songs. When i deleted the mp3 from the server, it is still playing. and when i changed the mp3 files it is still playing the original files. I don't know where these files were saved. I thought it was saved in my browser cache and i cleared it but it didn't work. I thought it was cached in my server, but in my localserver , i had the same problem.

So, again i downloaded the player, and this time it played different song, that i put. I have a hypothesis. Does flash player (swf object) absorb mp3 files?? i don't think so but how come player is playing the mp3 that has been changed or deleted? if it was in server cache then how long will it take to clear the cache and play new file. However, i don't remember coding something like 'cache'

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved