Very basic XML question

I am currently using two tables to load a sequence of videos in 2 areas of the Flash animation.

var zoneAarray:Array = new Array ("movie1.mp4", "movie2.mp4", "movie3.mp4");

var zoneBarray:Array = new Array ("movie4.mp4", "movie5.mp4", "movie6.mp4");

var clipA:String = zoneAarray [0];

var clipNumberA:int = 0;

var clipTotalA:int = zoneAarray.length-1;

var clipB:String = zoneBarray [0];

var clipNumberB:int = 0;

var clipTotalB:int = zoneBarray.length-1;

Everything works fine, but I would like to import the list of videos from an XML file instead of hard-coding it in Flash.
TIA,-Eric

Large. Please mark the thread as answered.

Tags: Adobe Animate

Similar Questions

  • A very basic newbie question, sorry: where is the documentation for the presets?

    Hello

    I am writing some ExtendScript to do some tasks fairly banal export and, so far, it makes a lot of sense... but...

    I keep on having spend loads of time googling for names of constant classes with the relevant presets.

    Y at - it a correct, indexed and searchable reference of InDesign scripting library, somewhere? PLEASE, I BEG YOU!

    Thank you

    G

    Where everyone was as frustrated by what I was, and I know that this exposes my ignorance but...

    1. in ExtendScript, F1 to open help.

    2. Select the product you are developing against in the help panel.

    3. Google what you want to do and, if you're lucky, you will find an object type or method name for try the search against

    (4 use the search help and I hope to whatever you hold dear that has you) corresponds to something useful and b) do not match too (both cases will cause absolutely no useful data)

    This will give you some (but very basic) syntax searchable guides... Buyer beware...

    Syntax guides do not, for example, distinguish (or provide details of) the difference between the IDS server or Office IDS and method signatures are different...

    Incomplete, awkward and a little difficult to use, but at least it is the documentation...

    G

  • Very basic noob question on the foundations of the class

    I'm looking at this line of code:

    import flash.display. MovieClip;

    and realized that I have not seen anything else used instead of the word Flash in these lines. It made me wonder what it means. Are there any other alternatives? If so, what would it be? If not, why it should be included all the time when it is obviously the only choice?

    Sorry for noobish but question if there must be a quick explanation I really appreciate it.

    Thank you.

    This is the path to the class MovieClip (relative to the default path).  and Yes, there are other initial paths like fl (check the videoevent class).

  • Very basic variable question

    I can get my way around Javascript and PHP, but simple things in AS3 stump me.

    The following code works fine:

    slideIn();

    function slideIn (): void

    {

    var myTween:Tween = new Tween(_root.content_txt1,"y",Strong.easeOut,-150,5,3,true);

    }

    I want to reuse the function of the different elements by inserting a (num) argument into the function. The trace function shows me that the variable has the correct value. However, interpolation analysis the variable 'point '. It looks for an element named "item", which results in an error.

    slideIn (1);

    the function slideIn (num): void

    {

    var point = "_root.content_txt" + num;

    trace (Item);

    var myTween:Tween = new Tween(item,"y",Strong.easeOut,-150,5,3,true);

    }

    Thank you.

    Right, because the element is a string and strings do not have a property y. just because you do not type the variable element does not mean that Flash does not know that it is a string.

    You must use array notation to get the object inside the movieclip eric.

    var point: TextField = eric ["content_txt" + num];

    You may also expressed as follows:

    var item: TextField = TextField (eric ["content_txt" + num]);

    Or if you plan to use it on various different display objects:

    var item: DisplayObject = DisplayObject (eric ["content_txt" + num]);

  • Very basic table question

    The following code traces:
    Origin = 1, 2, 3
    New = 1, 2
    Origin = 1, 2
    New = 1
    Origin = 1
    New =
    How is it possible that the value of the firstArray table for change?

    A little more in detail; If you use Boolean, String, int, uint, or number, when you assign a variable to another, it makes a copy of the value. For other things, like tables, custom objects, objects, etc., like to gsb said, simply a pointer or a reference to the original object so everything you "copy" actually is on the original. Search for 'cloning tables' in the Flex help.

  • Entities does not Contribution - very basic question

    Hi guys,.

    My apologies for this very basic question: I am very new to Hyperion, with just one week of training! Anyway, I'm building a basic model and have noticed that my features are not in the dimension value roll altogether the [Contribution]. This means that entities do not roll upwards!

    It was suggested that problem was that I needed a Sub consolidate in the rules, but I put the attribute 'ConsolidationRules' = n. In the documentation it is defined as "N to use the consolidation by default and eliminations".

    I was wondering is there anything else that is needed to use default groups, or do I need to create rules?

    Thank you
    G

    Why do you think that's not driving? If your building rules are set to "n" you don't need rules.

    Make sure that your presentation was made to IsConsoldiate. Make sure that you're displaying a "Parent.Child" to total Contribution.

  • Very basic question I think?

    Hi im very new to flash, but I'm looking to learn more about it, I tried to use the pre-built Flash components and I was just wondering where and how you can retrieve the values in the boxes checked

    I know how to check using the 1 box

    If (instancename.value = true) {}
    trace ("box has been checked");
    }

    but I want to run through a series of 5 boxes and retrieve all the labels in a first time, I can probably work on verification, if they are checked, but all the I get filament is not set which, I guess, no value.

    This is the code I used to try to recover all the labels of each box at the press of a button

    We (Release)
    {
    trace ("clicked");
    var i = 1;

    While (I < 5) {}
    trace ("Running while");
    i ++ ;
    trace ( check box. Label);
    trace (i);


    }

    }

    It would be more appreciated if someone could point me in the right direction for tutorials very basic on the flash components that I could find only the macromedia livedocs that I have not found a lot of help as his technique to speak which I am not yet familiar with...

    Thank you Pinky

    Hmm, I hate these sensitive submit buttons when they take too long to process your response if you click it again and it deals twice so it seems you spamming the forums: S lol

  • Basic VMWare question

    Hello, people:

    Please forgive my very basic questions, but I'm totally new to VMWare.

    Yes, as a R & S Cisco engineer, I worked with server

    specialists to get their online environments, but my focus was on the

    network component, from the access layer.

    Anyway, when you create a virtual machine and associate a request,

    This virtual machine has an IP address assigned to its own vNIC?  So, if it

    5 virtual machines run on a physical server, the number of addresses IP are you going

    have? How the allocation of an IP address of the physical NETWORK adapter is bound to the

    others?

    Once again, thank you for your help in advance.

    Take a look at the document I linked in the previous post.

    The virtual network is based on vSwitch which are "dummy" brigde.

    So has each VM's own MAC address (which is virtual and the part of the seller is dedicated to VMware).

    A physical NETWORK card is simply an uplink to the physical switch and the physical MAC address is generally not used and not visible in your network traffic or your ARP table (think a unmaged switch, it can have a MAC address, but you don't see it on your network).

    When you have several (more than one bear on a vSwitch) uplink you can have different types of team policy.

    (For you is probably the simplest to understand) is like the etherchannel on Cisco switches (and it takes a good configuration of the physical switch).

    André

  • Basic Actionscript question: mouse listener ROLL OVER event

    Hello-

    This is a very basic question, but I can't seem to find an answer. I have a mouse over the event and have created the buttons with the mouse overs which works very well. I created the actionscript code to go to a specific web page when a user clicks the button. Now, I need to add a label to the mouse more then when someone of the mouse on any area of the button, it will show them a particular name for the button.

    I'm sure it can be done using actionscript in a mouse event run on command, but I can't understand what I need to display the text. Here is where I am:

    community_btn.addEventListener (MouseEvent.Roll_Over, showmsg);

    function showmsg(evtObj:MouseEvent):void

    {

    }

    Thank you!

    If you want the text to follow the mouse, you can have a movieclip that contains the textfield object is empty, and when you rollover the button, the function of turning tells that movieclip to take the x and y position of the mouse (mouseX and mouseY) and fills this movieclip with the appropriate text.  Roll off the button removes the text, making the invisible text movieclip.

    If you want the text to have a background, you could also control the visible from the movieclip property so that it appears on rolling and disappears when you deploy.

    Thus, in the reversal function, assuming that you had this ToolTip named MC... "toolTip", soimething this might work for you

    toolTip.x = mouseX;  could add a little space if you want, for example: mouseX + 5;

    toolTip.y = mouseY;

    toolTip.visible = true;

    toolTip.tField.text = 'text ';

    And implementation code to would have to deal with the last two lines.

  • As a beginner, it's very basic, I imported my address book apparently ok, but I'm having a problem trying to address an e-mail to the address book in

    As a newbie it is very basic, I imported my address book apparently ok, but I'm having a problem trying to address an e-mail to the address book in the address field, I'm a right click, left click, but no list of addresses appearing or contact component which I should be able to see all the entries in my address book. What am I doing wrong please?

    Open a window of writing and press F9 to activate the touch pane.

  • Transition from basic editing Question!

    Hello, Adobe Community!

    I have one currently using the "Slide" transition on a title in my video. However, the transition moves only from left to right. How do I reverse the direction of transition? I want the next title in the video from left to right and leave the video in the sense that it comes.

    Thank you!

    James

    [title published by mod]

    Click once on the transition in the timeline panel.

    It's very basic things.

    Start here before that your project becomes a nightmare.

    Learn Premiere Pro, get help and support. Adobe Premiere Pro CC

  • I synced with my Iphone 6 various collections and works very well. Question: is there a way to get out of the photos from my phone to TV via Apple TV? Camera does this but not Lightroom app.

    I synced with my Iphone 6 various collections and works very well. Question: is there a way to get out of the photos from my phone to TV via Apple TV? Camera does this but not the App mobile Lightroom Dave

    Hello

    There is no feature that can do this in Lightroom Mobile from now.

    You can post your comments/idea here Photoshop community customer family

    Thank you

  • How after very basic fact for the first time?

    I don't have CS4 Premium.  I need to know how to make After Effects but want to do from the very very very low basic how to collect my four videos and make modifications on them as there are has some errors in their. Please what I need very basic, step by step 'how to' so that I can place fading framework between video 1 and video 2 and video 3, video 4. I would appreciate your help big big big future doing professional... :-)

    Well, you're in luck.

    Here is a description of the ins & outs of the way AE works, more a few cool how - to of:

    Getting started with After Effects (CS4, CS5, CS5.5, CS6, & CC)

    It's even good for your version of AE.

  • the basic sql question

    Hi all I have a basic sql question
    Watch below two querries
    1.  select 1 from dual where 1 in (select 1 from dual union all select null from dual) 
    
    It gives output  as 1
    
    but below one 
    
    2.   select 1 from dual where 1 not in  (select 2 from dual union all select null from dual)
    
    It gives output as no data found 
    I think as operator will not compare with all the values, but not the outcome it will compare with all values... When comparing with the value null, the result is automatically null

    I'm wrong
    Please help me on this

    and why performance wise in operator is more better than no of?

    Thanks to all in advance

    Thanks for posting your explain plan command

    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 3249215828
    
    -----------------------------------------------------------------------------
    | Id  | Operation        | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    -----------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |          |     2 |     6 |     4   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS    |          |     2 |     6 |     4   (0)| 00:00:01 |
    |   2 |   FAST DUAL      |          |     1 |       |     2   (0)| 00:00:01 |
    |   3 |   VIEW           | VW_NSO_1 |     2 |     6 |     2   (0)| 00:00:01 |
    |   4 |    SORT UNIQUE   |          |     2 |       |     2   (0)| 00:00:01 |
    |   5 |     UNION-ALL    |          |       |       |            |          |
    |   6 |      FAST DUAL   |          |     1 |       |     2   (0)| 00:00:01 |
    |*  7 |      FILTER      |          |       |       |            |          |
    |   8 |       FAST DUAL  |          |     1 |       |     2   (0)| 00:00:01 |
    -----------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       7 - filter(NULL IS NOT NULL)
    
    02:12:54 SQL> select 1 from dual where 1 not in  (select 2 from dual union all select null from dual);
    Elapsed: 00:00:00.01
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 3291682568
    
    -----------------------------------------------------------------
    | Id  | Operation        | Name | Rows  | Cost (%CPU)| Time     |
    -----------------------------------------------------------------
    |   0 | SELECT STATEMENT |      |     1 |     4   (0)| 00:00:01 |
    |*  1 |  FILTER          |      |       |            |          |
    |   2 |   FAST DUAL      |      |     1 |     2   (0)| 00:00:01 |
    |   3 |   UNION-ALL      |      |       |            |          |
    |*  4 |    FILTER        |      |       |            |          |
    |   5 |     FAST DUAL    |      |     1 |     2   (0)| 00:00:01 |
    |   6 |    FAST DUAL     |      |     1 |     2   (0)| 00:00:01 |
    -----------------------------------------------------------------
    
  • A related issue of the very Basic Editor

    Dreamweaver is considered a versatile HTML & matured, editing tool, but (surprise) I couldn't find a facility in Dreamweaver (as found in some free tools like Aptana Studio) very basic HTML editing.

    In the code editor, if I click on a HTML tag (as), the editor should emphasize the end tag, but Dreamweaver editor does not only? Am I missing something?

    (I use Dreamweaver CS3)

    In Code view, you have icons on the left side of your screen.  It can be used to expand and collapse sections of code for easier viewing.

    <>Select the parent tag.  See screenshot.

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.com

Maybe you are looking for