ActionScript 3.0 :: Loading A Changing Playlist XML?
Oct 19, 2010
I'm trying to load song info into flash. This radiostation has xml that is constantly being update according to previous, current and next song to be played. Here is the link to the xml: internetradio (dot) vrt (dot) be /internetradio_master/productiesysteem2/song_noa/noa_41.xml (where item index="-1" is the previous song, "0" is the current and "1" is the next song)
how to i load a flv file/stream from a prerecorded user into LEE's XML Video Playlist ready to display at the client side. on my fms server after a user recorded a video message its been created in the rtmp:/camera_apps/cameratest/streams folder and has the name record1.flv record2.flv etcetc this should load into the vlist component. how can i achieve this funtionality..
here is the code for the player and component: Code: Select all var nc:NetConnection = new NetConnection(); nc.connect(null);
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]...
I am using the XML playlist tutorials to dynamically load my video s and link them through the playlist [URL]. Now, I would like to add captions, I have added the 'caption' attribute to my xml node, but cant seem to get it to work in AS2!!
Here is where I am so far: var vlist:XML = new XML(); vlist.ignoreWhite= true; vlist.onLoad = function(){ var videos:Array = this.firstChild.childNodes; for(i=0;i<videos.length;i++){ [Code] ......
I have a movie on stage that acts as a button using the code. person_mc.buttonMode = true;
I load an image onto the stage from my library using addChild(holiday);
What happens is that the person_mc button I have on stage will not function anymore, because I am presuming it is underneath the holiday pic when I loaded it using addChild.
How do I load the holiday pic, so that it is underneath the person_mc?
I know I could do what I did with holiday using addChild for the person_mc, but I do not want to do it that way.
I'm using BulkLoader to load in images, SWFs, XML, etc into a game. When working local, the content property on the LoadingItem is always good depending on the type of asset: Bitmap if it's an image, MovieClip if it's a SWF etc. When I test the same swf, but under localhost, or online, the content property is always a Loader object. Is this normal? Am I missing out a parameter or something?
I just want to ask something about the preloader when it load. For example I made an animation for my preloader and when my page is loaded for, 20%, I want the animation to change and the same thing happen when it's loaded 40%, 60% until 100%.
I have a movieClip in the library with the linkage Class name as "LinkClass". I can make it appear on the stage, but there's a dynamic text box inside that is called "linkText" that I can't seem to get working. Here's the code:
myLink = new LinkClass(); myLink.name = "linkButton"; box.boxMC.linksMC.addChild(myLink);
I've seen a cool effect on: [URL]. Click on DEVLAB and than select the fourth icon. When loading the movie, the browser-window changes it'd dimensions. How can I do this?
How do I change the corner radius of a Label component in Flex. Tried applying style name, and the setStyle('cornerRadius',9) methods, but doesn't work. How can I change the arrow image in the combo box control to a different image?
There will be a "pool" of SWF files- I would like to create a "shell" swf that will load an external XML file that will determine which of the files in the "pool" the shell will play. I guess this would be called an XML-driven SWF playlist.Forgive me if my terminology is rather primitive- again, I'm new to XML (I'm an animator by trade.)
I want to create another button on the main menu of my flash site. I want to take one of the existing buttons (which are set as movie clips) and modify it to show a different menu name and page link. BUT when I go into my library and "duplicate" my movie clip, change the instance name, drag it to the stage and attempt to modify it, the original changes as well. I need to keep the original the same and create a new one with the same code, frames, etc but with different static text. I keep going in circles
I followed along with Lee Brimlow's video playlist tutorial utilizing the list component and XML - easy enough. I'm looking to add another level of complexity to a playlist which would involve some sort of checkbox or radio buttons associated with each item in a playlist. You could then choose to display only 2 or 3 videos of a 10 video playlist, for example.I'm not expecting anyone to write the script out for me. However, I would be very appreciative if anyone could steer me in the right direction to get started. I've been searching for things like "selectable playlist" but that of results in a playlist that allows you to select which item to display.
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.
I've been trying to make a playlist of some of the short movies i've done across the years but I am currently stuck.Is there any way to have a .swf file, load other .swf using variables defined on a separate txt or xml file? if so, is there a way that flash can do it all automatically? that way if i have to update it i only have to update the variables in the .txt/.xml file instead of updating the entire .swf file.
[code]I need to read this file in flash and list the songs one under another to build a playlist. Not sure if I should do this in an mc, text area, listbox? But either way, I don't know how to list the songs, no matter how many. I might have asked and described it to complicated on other sites,How do you read the files in the playlist node into flash and list them?
I am building a flv player. At the end of the movie I would like it to advance to the next movie. I currently have this.
Code: if (Math.round(loader_mc.scrub_mc._x) >= Math.round(loader_mc.loadbar_mc._width)) { nextMovie(); }
Is this the best way to detect when a movie is done or is there a better way. I don't really like my method because it potentially could cut off a half a second of video.
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?
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]
I've got a problem to play MP3 with MediaPlayBack, calling from a XML playlist. The playlist seems to work but not the MediaPlayBack which doesn't load the MP3...
Here is my XML code named mp3list.xml <?xml version="1.0" encoding="utf-8"?> <musiques> <musique url="musique/01.mp3" desc="titre 1" /> <musique url="musique/02.mp3" desc="titre 2" /> <musique url="musique/03.mp3" desc="titre 3" /> [Code] .....
ake a script on my server FlashMedia who plays my playlist xml loop. The script works for the first reading of the playlist but I do not know how to play it at infinity.Can you add my script?
I have created a flash video player using a customised flvplayback component and an XML playlist.The playlist in flash consists of a tumbnail with a name, which is within a scrolling MC, and 2 text areas under the video player itself.one for the title and the other for a description. All text and images are loaded from the XML.The default player starts with an auto play video and then the user can select a video from the playlist on the right.I'm trying to make it so I can create a URL link on another page within our website (home page)i.e "see this video of us doing this". I want the URL link to take the user to the video player page, but load in a specific flv and text from the XML instead of the default.
Is this possible?I have looked into flashvars but im not sure how to implement this with an XML player, and preferably not having to create a duplicate html page.(I would like the URL link to tell the flash player which video to load)
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
I have searched everwhere on the internet for a solution, with no luck, so I am hoping that someone can point me in the right direction.I am trying to make a kind of interactive tv. I have eight scenes and each scene has four choices of movie clips.A user picks one clip from each scene, maybe with check boxes. This generates a playlist which is loaded into a flv player which in turn plays the eight clips in order.
I am working on a video player with a selectable xml video playlist. I have successfully made the playlist draggable but can't seem to figure out how to allow the list (previously accessible outside the draggable movie clip) to be selectable. drag_mc is the movie clip which I have made draggable. Here is the part of code I am dealing with: