Video, XML and List Component

Hello all,
I have this code that is suposed to take my simple little XML
file and populate it into a List component which in turn when an
item is click it will play the video assigned to it. I have a
custom player built and it works perfectly when I just load in one
movie by hard coding its path into my AS, however when I load the
XML in it only will play the first movie in the list, and will not
load in any other movie when selected.
My code is below. anyone that can help it would be greatly
appreciated. The XML code is at the bottom.

funkysoul,
First thanks for taking a look at what I have. To answer your
question yes I have changed the start up movie in the Array (i.e.
from 0 to 1 or 2 or 3) and it does play that movie first, but again
when I click to load in another movie it does not play anything
else.

Similar Messages

  • Solution need for multiple xml and Flowlist component

    Hi! I am using multiple xml and AFComponents AS3 Flowlist component. I am having an issue with the thumbnails in the Flowlist component after about 20 or so user clicks, the images no longer appear, yet the threaded data is still there. http://www.littlewinggames.com/
    I have tried changing some publish settings: hardware acceleration to Level-1 Direct and script time limit increased to 30???
    Can anyone please help me to find a solution? Greatly appreciated! Lisa [email protected]

    Ben,
    Normally when you have multiple cameras you would log into the web interface and change the http port of at least one of them. The default port is 80. We normally would change one camera to use http port 1024 and the second 1025. Then you simply forward port 1024 to the first camera and 1025 to the second in the router. Just remember that when you attempt to access the cameras after you change the port it will look like this: :1024">http://:1024 (locally and remotely) Please reply if you have further questions.

  • How to populate list component via xml file?

    There is a TextArea component that should show the name and
    the description of the item selected in the list component. But I
    dont know how to populate list with external XML and what should be
    the coding in flash as well as what should be written in the XML.
    Please help.

    Here's an xml file listing a couple of brother comedy teams:
    <?xml version="1.0" encoding="UTF-8"?>
    <team>
    <brothers>
    <Marx>
    <name>Groucho</name>
    <name>Chico</name>
    <name>Harpo</name>
    <name>Zeppo</name>
    <name>Gummo</name>
    </Marx>
    <Howard>
    <name>Moe</name>
    <name>Curly</name>
    <name>Shemp</name>
    </Howard>
    </brothers>
    </team>
    Open a new .fla and save it in the same folder as the .xml
    file. Place a List Component on the Stage and name it (in this
    case, "comicTeams_list"). In the first frame write the following
    ActionScript:
    //create XML object and load external xml file
    var broList:XML = new XML();
    broList.ignoreWhite = true;
    broList.onLoad = processList; // this is a function that will
    be written below
    broList.load("populateList.xml");
    function processList(success:Boolean):Void{
    if(success){
    loadList();
    }else{
    trace("Load failure");
    function loadList():Void{
    var broName:String;
    var listEntries =
    broList.firstChild.childNodes[0].childNodes[0].childNodes.length;
    for(var i:Number = 0;i<listEntries;i++){
    broName =
    broList.firstChild.childNodes[0].childNodes[0].childNodes
    .childNodes[0].nodeValue;
    trace(broName);
    comicTeams_list.addItem(broName);
    //to make something happen when you click on a name in the
    List, create a Listener and function
    var broListListener:Object = new Object();
    broListListener.change = someAction; //"someAction" is a
    function to be written shortly
    //add the Listener to the List
    comicTeams_list.addEventListener("change", broListListener);
    function someAction(evtObj:Object):Void{
    var pickedBrother:String = evtObj.target.selectedItem.label;
    //write actions here, referencing pickedBrother variable
    The names of the Marx Brothers will appear in the box.
    This is written in AS2. When you post a question, it's a good
    idea include which version of ActionScript you're using.

  • List of compatible video cameras and codecs for iMovie 1.2.2 (iOS)?

    Is there any official or unofficial list of compatible video cameras and video formats/codes published by anyone?
    By the way, I successfully managed to import .mov (motion jpeg) from Panasonic DMC-FT1 to iMovie for iOS5. The AVCHD setting (.mts) does not work however.

    Not that I've ever found. I tried to research on the Apple site before I bought it but found nothing.
    I will say that SD cards are pretty universally compatible and I've not had an issue plugging htem into my iPad. So if your camera has an SD card, you should be good to go, and you can sync without running down the battery on your camera (I honestly never sync my camera with its cable since it does little more than kill the battery, I always do it just with the card, but everyone likes doing things differently)
    What might be more helpful, search your camera manufacturer's information. It might be easier to find your camera company saying it's compatible iwth the CCK than it is to find a list of all cameras. Or maybe you can post your camera model here and maybe someone else has the same model and can tell you.

  • How can I find and list videos by dimensions?

    I want to differentiate between 640x480, DVD, HDTV and Blue Ray video dimensions and sort them in a list.
    iTunes and Spotlight, or Finder search options dont inlcude this functionality.
    Does anyone know of a third party program which can find video and creates above listings?
    Thanks heaps for your help

    I think I figured out a way.
    There's a powerful conversion tool called iFFmpeg.  It's basically a GUI layer on top of the ffmpeg engine (command line tool).  If you go to the iFFmpeg site's download page you are required to download the engine separate from the app.  That will take you to here where you can download the engine:
    Download FFMPEG 0.102 OS X Intel 64bit (OS X 10.6.x, OS X 10.7.x)
    Now with that you can write a applescript or shell script to get the info for the video files:
    ffmpeg -i /path/to/file.mpg
    It will output all the info about the video file which you could parse and present any way you desire.

  • Does anyone know why I can only get sound and no video with a compatible component cable?

    Does anyone know why I can only get sound and no video with a compatible component cable?

    What apps are you trying?  TV out video only works with apps that support TV out.  If the app does not support TV out you will still get aoudio via the component cable

  • List Component multipleSelection and wmode

    I'm trying to use the list component with multipleSelection
    set to true; however when I set wmode to transparent in FireFox the
    multiple selection breaks. It appears to function properly in IE.
    Does anyone know of a workaround for this?
    Thanks in advance!

    "however, we need wmode set to false"
    So what exactly is the problem then... if you need wmode set
    to false, then don't add the param and you won't have it.

  • Scenario and Process Component List: Available on SAP Service Marketplace

    <b>Is the following useful to a BPX?</b>
    Warning: It is only available to those with a Service Marketplace logon.
    This was shared by Content Strategist: Scott Jones:
    The latest version of the Scenario and Process Component List on SAP Service Marketplace narrows the gap between the business view and the technical view of SAP's product portfolio. Customers can not only find out technical realization alternatives for SAP's business scenarios and processes, but also analyze which scenarios are possible with a given set of already implemented components. For planned upgrades, customers can analyze which scenarios have been enabled as well as which scenarios may no longer be available or require further upgrades of other components.
    All new features can also be reviewed in the "<a href="https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000682251&_SCENARIO=01100035870000000202&">what's new</a>!" section. Access the Scenario and Process Component List at SAP Service Marketplace (<a href="http://service.sap.com/scl">http://service.sap.com/scl</a>).

    Did you ever resolve this issue?  I am facing exactly the same issue and have the same question.

  • Do we have any method to list out the servers that are critical and the component/monitor causing the server to turn into critical state in SCOM 2012

    Hello Team,
    We are monitoring 1000 servers in our environment and out of 1000 servers, we have approximately 100 servers showing as critical state on the server state view.
    We can get the critical servers list from SCOM console, but we are not able to get the information about the component responsible for the server to be critical. Using Health explorer to find the root cause for 100 servers is really impossible and time consuming.
    Do we have any method to list out the servers that are critical and the component/monitor causing the server to turn into critical state?
    Advance thanks for your help.
    Regards,
    Dinesh
    Thanks &amp; Regards, Dinesh

    Hi,
    As far as I know alerts with severity as criticla may cause windows computer in a critical state, we can try below code to find all critical alerts:
    get-alert -criteria 'ResolutionState=0 AND Severity=2' | select Name,ResolutionState,TimeRaised | export-csv c:\Alerts.txt
    Criteria Syntax http://msdn.microsoft.com/en-us/library/bb437603.aspx
    Values to use.
    Resolution State 
    Severity Values for Alerts
    0       =   New
    0 = INFORMATIONAL
    255   =   Closed
    1 = WARNING
    2 = CRITICAL
    Hope this helps.
    Regards,
    Yan Li
    Regards, Yan Li

  • Load XML Videos data on tilelist(component) click

    Is this possible to load XML Videos data on tilelist(component) click..?

    yes. works for me:
    import fl.video.FLVPlayback;
    var flv_pb1:FLVPlayback = new FLVPlayback();
    var flv_pb2:FLVPlayback = new FLVPlayback();
    var flv_pb3:FLVPlayback = new FLVPlayback();
    flv_pb1.source="z_flvs/water.flv";
    flv_pb2.source="z_flvs/sample.mp4";
    flv_pb3.source="z_flvs/water.flv";
    tl.addItem({alt:"v 1", src: flv_pb1});
    tl.addItem({alt:"v 2", src: flv_pb2});
    tl.addItem({alt:"v 3", src: flv_pb3});
    tl.labelField = "alt";
    tl.sourceField = "src";
    tl.columnWidth = 400;
    tl.rowHeight = 600;
    tl.columnCount = tl.length;
    tl.rowCount = 1;
    tl.move(10, 10);

  • Where are FrameMaker 10 video tutorials on XML and DITA features?

    Salutations, everyone!  Besides YouTube, what video-based training/tutorial resources do you suggest for a 1-year FM10 and XML/DTD user?  I bought FM10 for my personal laptop about 1 year ago, and I have also been learning at the same time all about XML and DTDs within the Oxygen XML suite ( integrated development environment).  I love it!  But now that I'm a "seasoned beginner", I would like to transition to working with XML/DITA and become proficient with structured docs in FM10.  I want to increase my rate of learning, particularly during the next two months.
    Cheers!

    Hi Agape Guy,
    Please visit the following official link for starting with DITA:
    http://tv.adobe.com/watch/dita-12/framemaker-10-dita-features/
    Regards,
    Saurabh

  • What do i get with the component video cable and "new" universal dock?

    I've got the component video cable and the original universal dock. it doesn't seem to want to pass audio/video. do i have to have the "new" universal dock to pass the signal? i realize i can just hook up my 3G to the cable directly, but i am in the process of building a small home theater and i want to have a dock i can set my phone in. i like the idea of being able to use a remote as well.
    also, what signals get passed. do you see everything as you see it on the iPhone screen? do you see album art on the tv? can you move through iPod menus with the remote looking at the TV?
    thanks.

    You only see the video of the TV show or movie you are watching. You don't see album covers or any navigation. If you are playing music there is no video, just audio. You can also see photo slideshows.
    You have to start the video on the phone. The remote will pause/play the video, change the volume out of the phone, move forward/back chapters of video, move forward/back songs playing or go fast forward/reverse of songs and video. There is no navigation of your songs/videos via the remote.

  • List component and external .txt file

    Hi,
    Is there a way to load item labels of a list component from
    an external .txt file?
    Thanks

    Thank you very much Marghoob. It worked!

  • Drag and Drop List Component?

    Does anyone know how to use the v2 list component to let a
    user drag items from one list to another?
    Thanks in advance.

    No one knows of a tutorial for this?

  • Adding Images to the List component

    Adding Images to the List component while using the FLV
    PLayback
    All, ( i can send you my source files if it would help)
    I'm using the FLV Playback component and loading videos into
    it from an external xml file. I also have a list component tied to
    the FLV playback that when you click on one of the elements in the
    list, it plays that movie.
    QUESTION:
    My question is how do I add an image to the list component?
    Below is the xml file and the actionscript. I've added the image
    attribute to the XML file as img="time_square.jpg" and added the
    element of the array when calling/creating the list. Did I do this
    right?
    Any direction would be very much appreciated.

    Adding Images to the List component while using the FLV
    PLayback
    All, ( i can send you my source files if it would help)
    I'm using the FLV Playback component and loading videos into
    it from an external xml file. I also have a list component tied to
    the FLV playback that when you click on one of the elements in the
    list, it plays that movie.
    QUESTION:
    My question is how do I add an image to the list component?
    Below is the xml file and the actionscript. I've added the image
    attribute to the XML file as img="time_square.jpg" and added the
    element of the array when calling/creating the list. Did I do this
    right?
    Any direction would be very much appreciated.

Maybe you are looking for

  • Pictures of callers in start screen

    I am getting pictures of unwanted contacts in my start screen. How can I remove them or take action that they will no longer appear. My account is set to private and only people on my contactlist are allowed to call. Thanks in advance for reply. Abel

  • My keyboard keeps hiding in the middle of typing! HELP!

    I have a Droid X and recently i can't type anything without my keyboard hiding after almost every other word, or the words aren't showing up as I type them. Sometimes it is taking me a full minute to just type 4 words! This happens when i am typing a

  • Can the delimiter in a CFSELECT-multiple be changed before using the list it creates?

    I am using a CFSELECT which allows multiple selections, and I am feeding the results into a query which returns information about all of the selections. However, some of the values being returned contain commas because the values are company names (A

  • Howto limit options in search help for DDIC element LANGU (language)?

    Hi all, in my application I have an input field for a language parameter. Of course the standard search help (F4) opens a popup with all possible languages (registered in system). Now I want to limit these languages in the popup to only a few I want.

  • CommandLink Not Firing Action

    Hi, I am trying to use the commandLink to fire a action but somehow it does not fire at all !!! I am doing just like in the commandButton, is submiting the form but the action method does not fire at all. here is my code: ---------------- JSP -------