Create A Playlist For A Videoplayer That Is Already Created Using XML?

Aug 7, 2009

I'm trying to create a playlist for a videoplayer that is already created, using XML.

Here is the code:

Code: Select allarquivo_xml = new XML();
arquivo_xml.ignoreWhite = true;
arquivo_xml.onLoad = function(success){

[Code].....

I want that the button created, when pressed, go to a specific URL. So in this exemple above, I created a text field (instance name ->"teste1") to display the URL . But the only XML node that appears is the last one. I'm starting to use XML, so I can't understand what is going wrong, because so far, I could do the name("File1,File2,File3") of the file appear OK in the button the I created with the "attach" function.

View 1 Replies


Similar Posts:


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

Using XML To Create An SWF Playlist?

Nov 9, 2009

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.)

View 1 Replies

ActionScript 2.0 :: Create A Xml Based Video Playlist?

Jul 8, 2009

I'm wanting to create a xml based video playlist like the one on the link below. I've searched Flashkit and the web and found a few things, but nothing really close in operation or that I could use.

View 3 Replies

ActionScript 3.0 :: Create External Xml Video Playlist?

Dec 9, 2010

I was given an assignment to  create and external video playlist using an xml file.  I have never used  flash before, know nothing about encoding and all that was given to the  class in terms of instuctions was a short tutorial that has no  resources for troubleshooting.  We were given everything; the external  playlist file equipped with the video skin, the video list, actionscript  that loads the xml and the xml file.  We were told that all we need to  do is change the names of the videos in the xml file to match the names  of our videos.  I did that.  We were also told we needed to "name  target", but we were not informed on how to do this.  I have tried  everything, visited every tutorial and I cannot figure out how to get  this damn thing to work.  I cannot even get flash to load the xml file. 
 
Here is the xml file:
 
<?xml version = "1.0" encoding = "i-8859-1"?>
<playlist><ADogWithoutABoneflvurl="ADogWithoutABone.flv"desc="Hyper Wall First Video" />

[Code].....
 
I  tried placing the full address of the xml file in, along with the file  address of the videos, but again it did nothing.  Everything is located  in the same file, and the videos in a sub file in that file. I tried  taking out the sub file and putting all the videos in the same file, but  it did nothing. 

View 1 Replies

Flash :: Media - Create A Playlist In Streaming Server

May 6, 2009

I download the Flash streaming server and install it its work fine.I want know about the following question: how to stream the video using playlist? What is the format of the playlist? can i create a playlist from visual studio.Net and pass the value to the player?

View 1 Replies

Media Server :: Create One Video Out Of Many Videos On A Playlist?

Aug 31, 2011

As stated above, I wanted to know if I can take a video playlist, say with 4 clips, and have FMIS create a separate file out of the 4 individual clips. Specifically, a user selects 4 (or any number) of clips to create their playlist, then at the end, a 'full length' file is created. If this isn't clear, let me know and I'll try to elaborate.

View 2 Replies

ActionScript 3.0 :: Create A Simple Sound Playlist At Runtime?

Dec 15, 2011

This is what I try to do: I am creating a game with spoken sentences. These sentences are loaded dynamically from an XML file, which contains the paths to mp3-files.This is what is currently happening: All sentences are spoken at the same time.I want them to be spoken one after another - how to I obtain this requirement?This is my (simplified) code example:

import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
_oLoader.addEventListener(QueueLoaderEvent.ITEM_COMPLETE, onItemComplete,false, 0, true);

[code].....

View 3 Replies

ActionScript 3.0 :: Create A Dynamic Xml Driven Video Playlist?

Jun 24, 2010

I am trying to create a dynamic xml driven video playlist, that will display the thumbnail, title and time duration of the video (quite similar to the one on youtube). But I don't know where to begin and I have been googling for some helpful tutorials but cant find anything resourceful.if I shall use the Flash component for scrolling purpose or I shall learn to develop my own scroller with scrollbar.

View 8 Replies

Media Server :: Create Videos In A Playlist That Can Limit The Views To 10 Videos Per User?

Nov 1, 2011

Is there a way to create videos in a playlist that i can limit the views to 10 videos per user?

View 1 Replies

ActionScript 2.0 :: Create A Custom Class (Testing) That Would Create A Box When An Instance Of The Class Is Created

Aug 29, 2007

I've been playing around with custom classes. My objective was to create a custom class (Testing) that would create a box when an instance of the class is created. I've tried three different approaches, however only (3) seems to be showing up. I'm just curious why (1) or (2) doesn't work?

Also is there a better approach than (3)? Since at the moment it's been created on _root. I hope the box can only be accessible through the instance. Since I'd like to incorporate the whole idea of public, private, encapsulation, etc.

[Code]...

View 3 Replies

ActionScript 2.0 :: Properties For Mc's Created With Create.emptyMovieClip

Sep 28, 2004

well like the title says, ho can i set the properties of a mc's created with createEmptyMovieClip , getting a real nag , have tried all kind of things , for loops , etc.

for (i=0; i<=10; i++) {
this.createEmptyMovieClip(["rondje"+i], i);
lineStyle(1, Black, 100);

[Code].....

View 2 Replies

ActionScript 2.0 :: Properties For Mc's Created With Create.emptyMovieClip?

Jul 14, 2005

well like the title says, ho can i set the properties of a mc's created with reateEmptyMovieClip its getting a real nag , have tried all kind of things , for loops ,

for (i=0; i<=10; i++) {
this.createEmptyMovieClip(["rondje"+i], i);
lineStyle(1, Black, 100);

[code].....

View 3 Replies

ActionScript 2.0 :: F5: Create An Array Of Created Classes?

Mar 11, 2005

if I can create an array of created Classes. can only create an array of values, not objects.

View 1 Replies

ActionScript 3.0 :: Create / Customize An Already Created Animated Pyramid Gallery?

Sep 30, 2010

I have created an example in wix of the flash file I want to create or, if it is possilbe to get ahold of this file, edit it.[url]...

View 1 Replies

ActionScript 3.0 :: Create External Files From A SWF/exe/app File Created In Flash?

May 16, 2011

I'm currently trying to find out how to create external files from a SWF/exe/app file created in Flash. Essentially I'm building a program to create templates for levels in a game. The SWF will be run locally (e.g. not online) and will allow the user to add/remove objects to a level of their design. They then need to be able to save the level template (ideally I need to be able to save as a JSON* file, but I'm sure I could get away with just a simple txt file) somewhere on their computer. These templates will them be imported by the game itself (not written in Flash, hence why I need to save the data as a json or txt file), which will then re-create the levels from the data contained in the save file.
 
I had assumed this would be something that was really simple to do, but I cannot seem to find any tutorials or information on how to create external files. I can find plenty on reading from existing external files, but nothing about actually writing a new file entirely. I have read a few people complaining that non-local Flash SWFs cannot access the user's hard drive for security reasons, but cannot find any information on local SWFs.
 
If anyone could tell me even roughly what I'm looking for, it would be greatly appreciated. I'm a bit stuck just now haha *I have downloaded the corelib files which allow me to work with JSON files

View 4 Replies

ActionScript 3.0 :: Create An Animation Where A Structure Created With The Bone Tool?

Oct 26, 2010

I'm looking to create an animation where a structure created with the bone tool follows my mouse around the stage.

I've tried startDrag but it breaks the bone structure apart.

View 0 Replies

ActionScript 3.0 :: Create Instance Names For Dynamically Created Movieclips?

May 28, 2011

I am trying to use a for loop, to place 5 instances of the same movieclip on the stage. In the loop I used .name to give each movieclip a unique instance name. But when I try to reference one of those instance names in an event listener I get an error. [code]...

View 1 Replies

Actionscript :: AS3 - How To Set VideoPlayer's Metadata

Mar 6, 2011

I've set a custom client for a FLVPlayback's netStream, to attach my own functions (onXMPData, onMetaData) to parse the various info myself. However, i'd still like to pass the meta data back to the VideoPlayer. How do I do this? I tried dispatching a METADATA_RECEIVED event with the metadata object (tried dispatching from the client, the netstream, the video player, the flvplayback..), but it does not work.

View 1 Replies

ActionScript 3.0 :: Using VideoPlayer Instead Of FLVPlayback?

Feb 16, 2011

I'd like to use the VideoPlayer class instead of FLVPlayback because in theory it uses up less space as it does not have all the skins etc.However I've found that if I want to throw a VideoEvent to check when the video has finished playing, if I do not have a component of FLVPlayback in my fla. file library I get a compilation error saying it can not find the "VideoEvent" class even t hough I have the correct import lines at the top.So what's the point? That would mean that by using VideoPlayer I cant make my swf smaller and I lose functionality.

View 0 Replies

ActionScript 3.0 :: Load New Video Into VideoPlayer?

Jul 15, 2011

I've made a very simple video player from bits I've found on the internet and it's working great provided I want to only use 1 video...

I have added two buttons on the stage and the idea is, if you click "videoBtn1_mc" it plays video1 and if you click "videoBtn2_mc" it plays video2.

I can't seem to eject/unload the first video that is loaded in. Once it loaded in it will just play that one no matter which btn I click...

Here is my code. The buttons I'm referring to are right at the bottom...

ActionScript Code:
import flash.events.MouseEvent;
//------------------------------------------------------------------------------------------
////CONSTANTS////

[Code].....

What must I add to eject/unload the current video so the new one can load in?

View 4 Replies

ActionScript 3.0 :: VideoPlayer.Source From URLRequest?

Jul 31, 2011

Just a quick question, I am trying 3 things at the moment:

I know its htp:// but it wouldnt let me use the right one due to post count.

Code:
ui_vpMain.source = "htp://192.168.0.102:4040/video.flv&u=test&p=test&maxBitRate=1000"
vs
Code:
var plainRequest:URLRequest;

[Code]...

View 0 Replies

ActionScript 3.0 :: How To Reset Source On VideoPlayer

Feb 25, 2009

Imagine for a minute that you live in an imperfect world and you're having to work with people who think that a url to a youtube page (.html) is the same thing as a url to a flv (.flv). Long story shorter, your VideoPlayer.load() keeps getting html files passed in instead of flv files. I'm running a try/catch, but I'm not sure how to reset the source on the VideoPlayer.

VideoPlayer.source is read-only and
VideoPlayer.load(null)
Gives the same error as
VideoPlayer.load([*.html])
If not, I'm just going to do an extension check before I do VideoPlayer.load().

View 3 Replies

ActionScript 3.0 :: Seek To A Not-yet-loaded Second In Fl.video.VideoPlayer?

May 11, 2009

I'm using fl.video.VideoPlayer and I'd like to be able to seek arbitrarily within the video. seek() works unless the given time isn't yet loaded, in which case the video hiccups and continues playing normally. I'd like it to seek to the specified second even if it's not yet loaded, loading/buffering as necessary. I've tried seek() and play() and haven't been able to make this work.

View 1 Replies

Media Server :: Custom Videoplayer Like The One On Facebook?

Mar 26, 2010

Is there a tutorial for developing a Flash Video Player which expands on clicking? You can refer the videos embedded on facebook. They appear in smaller player but when clicked expand to fit the content.

View 1 Replies

Media Server :: VideoPlayer And Application Instances

Jun 27, 2010

I am trying to playback recorded streams from a Flash Media Interactive Server using the VideoPlayer component in Flex 4/Flash Builder 4.If the stream is located in the serverpath>/ streams/vod/_definst_ directory then I can get to it by setting the 'source' parameter of the VideoPlayer to [code]What I can't get to work is when I have a stream recorded to an instance within an application directory.So if the application is "app1' and the instance name is "inst1" it would be literally located in <serverpath>/ app1/ streams/ inst1 directory. Setting the source parameter to this "<server>/ app1/ inst1/ streamname" does not work.It seams to be ignoring the 'inst1' part of the path because the server side log shows '_definst_' as the instance name being run.I know this is in part a Flex 4 question, but manually writing a video player works. I would just like to get the Flex 4 VideoPlayer component to play the video.

View 2 Replies

Professional :: Videoplayer That's Beeing Controlled From Keyboard

Jan 5, 2011

1) I wan't to do a fullscreen videoplayer that listens to the keyboard and that plays a videoclip on demand. I will not use menues or onscreen buttons.
 
It should work almost like a Video DJ application or a audio sampleplayer but for video. So; when I press any one of maybe ten keys the corresponding videoclip should be played.
 
I intend to run this locally using Flash player hence not on a browser or on internet so I'm not really limited by bandwidth. I'm on CS4 Flash Professional.
 
2) Is there a IDE, a runtime development enviroment, for Flash aimed for AS? Despite working on a daily basis with digital media  for many years incl. coding in php, javascipt, asp.net, etc I still have a tough  time understanding Flash and AS3.

3) A part from traditional keyboard input is there a way for Flash and/or Flashplayer to listen to an non-standard USB input, say a touchpad, joystick etc?

View 1 Replies

ActionScript 1/2 :: TypeError: Error #1085: Videoplayer?

Jun 15, 2011

I have a videoplayer that loads video from xml and players it. The code works well when loading the xml.But because I need it to run the video on the server I user php code that echos xml to access videos:
 
$selectvideos=mysql_query("SELECT * FROM Videos");
echo "<?xml version="1.0" encoding="UTF-8" ?>
";

[code].....

View 42 Replies

Html :: Fl.video.VideoPlayer Loads Flv Relative To Swf?

Nov 9, 2009

Update: Turns out this is undocumented behaviour of the NetStream class - NetStream loads relative to the swf, as opposed to URLRequest which loads relative to the HTML doc...annoying.I am having a strange issue where loading an FLV file using thefl.video.VideoPlayer class that comes with CS4: Adobe docs hereUsually when loading external content into flashplayer, the path is relative to the HTML page that the swf is embedded in - but when I try and load an FLV using the VideoPlayer class the player looks for a path relative to the swf, not to the HTML (as you would expect).

eg:
My file setup is:index.html (which contains the swf)swf/my-video-player.swfvideo/my-video.flv

[code].....

View 1 Replies

Flex :: Converting VideoPlayer CurrentTime To String

May 17, 2010

I want to format the currentTime displayed by a videoPlayer component inside flex, something like : 8230.999 to something like 01:59:59:999 which is "hours:minutes:seconds:milliseconds". I tried different sets of codes but they can't get it to work because currentTime is nor a correct milliseconds time as it adds a floating 3 digit point to seconds;
So instead of : 2000ms it outputs 2.000

Here's the current MXML:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Script>
[Code] .....

View 5 Replies







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