ActionScript 3.0 :: Create A Video Play List From XML?
May 13, 2010I was wondering if I could pick your brains for moment. In my XML there are video URL's.[code]...
View 2 RepliesI was wondering if I could pick your brains for moment. In my XML there are video URL's.[code]...
View 2 RepliesI am trying to create a video player with a play list. I attempted to follow the tutorial at UrL...but couldn't get my customized player to work. I have a feeling there is something that needs to be tweeked with my AS but I'm not really sure because I am not a big programmer (more of a designer).URL...[code]
View 0 RepliesCreate a html video list that uses a flash video player?
View 14 RepliesI'm trying to create an flv player to play a single video from a website. I can't seem to resize the playback window. Altering the width just seems to move the same small window around the screen.
Ideally I'd like it to go full-screen or at least fill the browser window. However, I don't even seem to have basic control at the moment. What am I doing wrong here?
Also, (and maybe this is related), I couldn't import fl.video.* in Flex Builder without placing the component first in my library resource using Flash. Is it possible to bypass this step and import directly in Flex Builder?
[Code]...
Creating a dynamic list and associating a picture with each list item. i need the list to be scrollable, and i want the list and it's associated picture to be displayed randomly when the application is re-launched. i.e it doesnt show the same list everytime.
I also what to be able to sort the displayed list items. e.g if the list items is about restaurants, i want users to be able to sort the displayed items by either; district, cusine type and gastro type.
Is there any way I can create a slider on my desktop to access some of the controls of the YouTube Video player like volume, pause, play, playback speed? I know it is a flash player, but would this involve accessing the YouTube API or something else? For example, I'd like to program something similar to what's provided by the Enounce MySpeed application (control over play back speed).
View 1 RepliesI need to play preview video first, before starts play any other video. I am using jw player
View 1 Repliesi made a video player with the xml playlist , it's a video channel indeed, it's embed swf in html. but my boss would like me to put a link on the web, when user click the link, it would directly play the specific video inside the video channel. is it possible to do it without server side script but javascript?
View 1 RepliesThe stop button plays as expected. The play/pause button plays as expected. The issue is when you press pause which will cause the play button to appear, then press stop. the video automatically plays and it shouldn't. I have bolded the control button script for convenience.
[Code]...
the player uses a VideoDisplay and i set the source like videoDisplay.source = "sourceStringURL"
and the vid doesn't play until it's fully loaded
Why does my swf's skin referenced by a simple component FLA work locally but NOT live? There's no AS3 in the component FLA. It's just a one-layer component referenced to the the FLV. When I test locally, IN FLASH CS4 ONLY, and click on "Animalia - Verse From the Zoo" the FLV and skin load and the video (source FLV - "Sequence01.flv") plays. But the same thing live only loads the swf for the FLV file area but NO SKIN. Try it yourself, please:Has anyone had this problem and knows the solution? All files are in the SAME FOLDER on the web server. I've tried every URL and path combination I can think of on the website. I've tried referencing the whole URL.
Yet whatever path combination I try, either nothing happens, or I just get the FLV box but no skin. Which is what's happening now. Publish settings are set to Flash Player 10 for all files. And I've tried the component SWF WITH and WITHOUT the fl.video package (import fl.video.*. No difference. Why does the skin load and play locally but not live? It's all AS3. No AS2. And it does not seem to be a "publish settings" issue as far as I can see. The relevant code in my API is:
var AnimalFLVLoader:Loader = new Loader();
AnimalFLVLoader.contentLoaderInfo.addEventListener (MouseEvent.MOUSE_DOWN,fAnimaliaVOn);
Animalia2.addEventListener(MouseEvent.MOUSE_DOWN, fAnimaliaVOn);
[code].....
I have a project where I am bringing in one video with a cue point at the very end with the name of "End." I'm trying to have the next video play when the first video reaches that cue point. I keep getting this error: 1046: Type was not found or was not a compile-time constant: MetadataEvent. Here is the relevant code I believe:
[Code].....
I am wanting to play a number of movie clips and flash produced video clips. On the main timeline I have a frame for each clip I want to play. In that frame is a flash movie that contains the video that I have embedded onto the timeline for the movie. The filesize for this project is massive and I am struggling to work on the file. I want to be able to play the video files with the playback component in each of the frames where the video was.
[Code]...
I was wondering how I can delay (2 seconds) a video to play in a Flash Video Player? I know one way is for me to add blank frames but I would like to know some other options.
View 2 RepliesHow can I detect when a video has finished playing a.k.a stopped playing, so I can tell flash to play the next video in an array?
This is my code:
Code: Select allvar x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();
[code]....
I have created my first flash video and wish to allow the visitors to play the movie themselves instead of having the movie play automatically also have a stop or pause button too.
View 2 RepliesI want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player?Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder?Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?
View 1 RepliesHow can I detect when a video has finished playing a.k.a stopped playing, so I can tell flash to play the next video in an array?
This is my code:
Code: Select allvar x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();
var desc:Array = new Array();
[Code]....
I would like to refine my code to play the first video when it is on the last item of the xml. So far, the code
Actionscript Code:
setupvideo(_global.file[i + 1],i + 1); _root.iinfo.tag.tagTxt.htmlText = _global.info[i + 1];
[code]....
I have 1 flv with only 12 seconds of audio. another flv that is 10 seconds with only video another flv that is 2 seconds with only video Lets assume both video files are as long as my audio file. Which actionscript commands should I look further into to: 1. play audio simultaneously with video 2. play the 2 second video smoothly/seamlessly after the 10 second video is over as if it were a 12 second vide 3. if my audio or video were mp3/wma instead of flv would I run into trouble 4. I imagine a flash media server would be mandatory if my videos were other formats like avi/mpg and had to encode on the fly
View 1 RepliesI hope this is the right place to ask my question. OK, I need a list of softwares that can play FLV on my computer, and I mean just play FLV in the software, not through web browser. For I have seen a lot of people asking this question on the Internet, I'm interested in it, too. I know Realplayer cannot play FLV, so please don't say Realplayer again, It's a stupid question, I know. I think you Flash gurus must know the answer.
View 2 RepliesI'm trying to create a flash video that will incorporate powerpoint-like slides along with video footage. So for instance I will have slide 1 (graphic) - slide 2 (video clip) - slide 3 (text). I have used CS4 before for one of my classes but that was a little while ago, and I feel like I'm starting over again. When I import the first graphic (.png), is there an option to have it resize to fit the stage?
View 5 RepliesI need to play the 3 video files in a video player. The files should execute one after the other in the flash video player and the files will be allocated dynamically from database.
View 1 RepliesI want to play FLV video in a flash video player, and at the end of the buffering I want to access the data (video data, or buffered file) so I can manipulate it. For exemple in a ByteArray format so I can save it to local disk... With the NetStream and NetConnection I can play the video without problem, but I can't find a way to access the data. using the URLStream, I can download the video file [URL], and I can access the data I want but I can't play it?
Is there a way to play the URLStream, or to get data from the NetStream?
Or may be, I can access the cache of the browser to get the bufferd data played by NetStream?
I am having go with one one of the tutorials here. I am trying to use XML to loop, or play, the list of songs that I have going on. Though, I get stuck with two problems:
1) The Flash will not play the 2nd or third song of the XML file, only the first than it stops.
2) The Flash will also not play the XML file if I embed it on another folder, like for example: I want the flash to be embeded on my home page (so index.php) though I have all my files (songs.xml, the songs, home.as, flash_home.swf) on a folder named /flash/ off my root folder.
i am trying to create a video player in AS 2.0, but I have a problem.My code loads a video, and plays the video, but.... I don't see my video xD.This is my code :
ActionScript Code:
var connection:NetConnection = new NetConnection();
connection.connect();
var flux_video:NetStream = new NetStream(connection);
[code]...
I am using a video list for my videos but when i scroll down, it goes more than I want and when I scroll up, it doesn't scroll all the way up.
[Code].....
I am trying to dynamically create an xml list.. however when I add in cdata tags it give me an error saying tags must be terminated, even though I'm not using those. It seems like it is trying to read the cdata tags as tags.
var addList:XMLList = new XMLList(
"" +
"" + personName + "" +
"" + personTitle + "" +
[code]....
I read somewhere you have to escape characters, but not sure exactly where.
I have a video player that is working great - but am trying to change the XML play list from one that is prev/next page to a scroller. I don't just want to straight up post it since it was purchased from another site.
View 9 Repliesyou may quickly determine I am totally new to flash and actionscript. Tried learning it a while back but got distracted and just started over. Trying something that I thought would be real simple only to discover that nothing about AS is simple... So I wanted and play a movie via an XML generated list. Followed one of the tutorials here and tried to adapt it for video. The list works and the path for the video traces properly but for some reason the video never appears on the stage. I can take out the variable "vid" and put the path in manually without changing the structure and it works fine. Can someone point out my error. And if I am totally doing this wrong I am open to criticism as long as its constructive.
[Code]...