Problem with loading multiple external xml files

I have a table named 'source', which consists of names of files external xml, the content of which I'm loading in another table called 'content '. I tried with the following text:

----------------------------------------------------------------------------------------
for (i = 0; i < source.length; i ++) {}
XML_URL = "' http://localhost/temp/ ' + source ;"
myXMLURL = new URLRequest (XML_URL);
myLoader = new URLLoader (myXMLURL);
myLoader.addEventListener (Event.COMPLETE, xmlLoaded);
}

function xmlLoaded(evt:Event):void {}
Content.push (myLoader.Data);
}
---------------------------------------------------------------------------------------

The problem is that in this way, I get that content of the last xml file and other items ' content ' are 'undefined '. Anyone know the solution to this problem or maybe another way to do this?

Thanks in advance

I tested the following with two xml files in the same folder (I would try the same thing) and put their names in the table source. Create two dummy xml for the test files.
Here is my exact code (I've changed, I have one because it's italicized here in the forums):

var content: Array = new Array();
var source: Array = new Array ("media1.xml", "media2.xml");
for (var a source) {}
var XML_URL = ' "+ source [a];
var myXMLURL = new URLRequest (XML_URL);
var myLoader = new URLLoader ();
myLoader.addEventListener (Event.COMPLETE, xmlLoaded);
myLoader.load (myXMLURL);
}

function xmlLoaded(evt:Event):void {}
Content.push (evt. Target.Data);
if(Content.Length ==source.) Length)
TR();
}

function tr() {}
trace (content);
}

Tags: Flex

Similar Questions

  • Problem with Framemaker 9 Dita XML Files in Framemaker 10

    I just upgraded to Framemaker 10. I meet a number of problems when trying to work with my help of Dita XML topics, that were last saved in Framemaker 9.

    1. using the default Dita model

    When I open one of my documents in Framemaker 10, the Dita 1.2 model ditabase.fm is automatically applied. Everything seems fine. But then when I convert the XML using Eclipse (which is essentially the html, so we go from XML to HTML format) using Dita Open Toolkit ant scripts, I see this message:

    [pipeline] [DOTJ013E] [ERROR] failed to parse the referenced file 'html\c_licensing.xml' cause from under exception. Please correct the base on the exception message reference.
    [pipeline] c_licensing.xml 25:Attribute 'xmlns:ditaarch' of the line must be declared for the element type "dita".

    Then, I opened the xml file in a text editor, and I saw this on line 25:

    < dita xmlns:ditaarch = "http://dita.oasis-open.org/architecture/2005/" > ""

    25 line seems to me. Am I missing something?

    2 go to a model of Dita 1.1

    I tried to get around the above problem. In Framemaker, I tried to put another structured as the default application. I closed all files and choose the structured Dita 1.1 application default (it defaults to the Dita 1.1. Composite app.)

    Then I tried to open my file: I got this message inside Framemaker:

    'Failed XML validation. Continue?
    Error to the [path of ACCESS], line 25, tank 72, Message: attribute ' {http://www.w3.org/2000/xmlns/} ditaarch' is not declared for the element "dita"

    Sounds familiar, isn't?

    I went from Dita 1.1 by default. Composite application structured with the Dita 1.1. Application of structured theme. Then I messed the source file and saved. The messages that I got in the FrameMaker log window included one above, plus I had a variety of messages to unknown element, things like:

    Element unknown dita.

    notion of unknown element,

    various attributes are not reported for concept,

    element unknown conbody.

    If I go to the Dita 1.1 mash all these messages diappear except this one:

    Attribute ' {http://www.w3.org/2000/xmlns/} ditaarch' is not declared for the element "dita"


    My conversion scripts of Ant in the Dita Open Toolkit are still unable to process this file. They give the same message as above in (1) and the file is not converted to HTML.


    Can someone help me with this problem? I also posted this question in the Group of users of Dita on Yahoo Groups. If I get an answer in one place, I'll post it in the other.

    Thank you

    Nina P.

    [transferred to dita-users]

    Hi Nina...

    The xmlns:ditaarch attribute must be the "topic" not dita root element. If demand for FM10 structure is the award that it is wrong. You create composite themes (multiple topics in a single file under the root of dita)? If this isn't the case, you can get rid of the total dita element and who can "solve" the problem.

    The first mistake you get (#1) says that the xmlns:ditaarch attribute must be declared (that is, defined in the DTD)... It's not (because it is not supposed to be there (as I know). This is not to say that it must be declared in the DITA file.

    Even for the #2 error... the composite 1.1 app is apparently set up correctly, so it's saying the same thing that the Old Testament said... "you have this attribute in the XML file, but it is not declared in the DTD.

    Your subsequent error on the missing items is because you spent in the "topic" DTD, who does not know the dita element or elements based on concepts.

    If you can unpack your files dita element (because you are just using a topic in each file), which can solve the problem. But you probably need to do is open these files in a text editor and remove the attribute of xmlns:ditaarch of them (he not really needs on the elements of the topic either since it is the default value). Then, I turn to the composite 1.1 as a default app. I'll take a look at the FM10 1.2 default app and see what happens. (I have not seen this problem since I was on DITA-FMx, which has its own structure of apps).

    See you soon,.

    .. .Scott

    Scott Prentice

    Leximation, Inc..

    www.leximation.com

  • Problem with loading an external swf of in an external swf...

    OK, everything was going well on a Web site project, I worked, until yesterday. I will try to explain the whole scenario first, and I'll put the code here too so anyone can try to understand what the problem is. Here is a breakdown of the site:

    1) there a MAIN SWF file that plays an intro and then stops on the last image with the Navigation buttons 'hand'.

    2) in the root folder where the MAIN SWF resides, there is another folder called "sovereign wealth funds", which contains six main external navigation pages, but also another folder called "galleries" which contains additional external SWFs for six pages in the gallery.

    3) on one of the layers of the MAIN SWF, there is a clip called 'mySWFLoadingClip' that the buttons of Navigation of the 'hand' loading and unload pages external to swf. It all works perfectly. The beginning of the problem to the next step. This is the code I used for the buttons of navigation on the MAIN SWF scenario:

    var Xpos:Number = 0.0;
    var Ypos:Number = 0.0;
    var swf:MovieClip;
    var loader: Loader = new Loader();

    var defaultSWF:URLRequest = new URLRequest("swfs/home_page_swf.swf");

    Loader.Load (defaultSWF);
    Loader.x = Xpos;
    Loader.y = Ypos;
    this.mySWFLoadingClip.addChild (loader);
    ////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////

    Function universal BTNS
    function btnClick(event:MouseEvent):void {}

    this.mySWFLoadingClip.removeChild (loader);
    var newSWFRequest:URLRequest = new URLRequest ("SWFs /" + event.target.name + ".swf");
    Loader.Load (newSWFRequest);
    Loader.x = Xpos;
    Loader.y = Ypos;
    this.mySWFLoadingClip.addChild (loader);
    }
    Listeners of BTN
    home_page_swf.addEventListener (MouseEvent.CLICK, btnClick);
    portfolio_page_swf.addEventListener (MouseEvent.CLICK, btnClick);
    services_page_swf.addEventListener (MouseEvent.CLICK, btnClick);
    about_page_swf.addEventListener (MouseEvent.CLICK, btnClick);
    team_page_swf.addEventListener (MouseEvent.CLICK, btnClick);
    contact_page_swf.addEventListener (MouseEvent.CLICK, btnClick);


    4) one of the external navigation SWF pages is called "portfolio_page_swf" and gets loaded into the moveclip of 'mySWFLoadingClip' on the MAIN SWF. This is where the problem begins. The "portfolio_page_swf" has six buttons facing an additional external swf in the file galleries. Now when I open the file "portfolio_page_swf" to test if the buttons work, they work perfect. When I click the buttons, the external swf gallery files appear as they should. But the problem is that when I open the "MAIN SWF" file to test the site, I can click on the main Navigation buttons and they work. I click the portfolio button on the time line of Hand SWF and place of 'portfolio_page_swf' on the stage as it should, but when I click the buttons located in the 'portfolio_page_swf' galleries are not displayed. The page "portfolio_page_swf" buttons work only if I open the file 'portfolio_page_swf' directly. The following code is used in the "portfolio_page_swf":

    var Xpos:Number = 0.0;
    var Ypos:Number = 0.0;
    var swf:MovieClip;
    var loader: Loader = new Loader();

    var defaultSWF:URLRequest = new URLRequest("galleries/gallery_print_swf.swf");

    Loader.Load (defaultSWF);
    Loader.x = Xpos;
    Loader.y = Ypos;
    this.mySWFLoadingClipGALLERY.addChild (loader);
    ////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////

    Function universal BTNS
    function btnClick(event:MouseEvent):void {}

    this.mySWFLoadingClipGALLERY.removeChild (loader);
    var newSWFRequest:URLRequest = new URLRequest ("galleries /" + event.target.name + ".swf");
    Loader.Load (newSWFRequest);
    Loader.x = Xpos;
    Loader.y = Ypos;
    this.mySWFLoadingClipGALLERY.addChild (loader);
    }
    Listeners of BTN
    gallery_print_swf.addEventListener (MouseEvent.CLICK, btnClick);
    gallery_packaging_swf.addEventListener (MouseEvent.CLICK, btnClick);
    gallery_web_swf.addEventListener (MouseEvent.CLICK, btnClick);
    gallery_video_swf.addEventListener (MouseEvent.CLICK, btnClick);
    gallery_others_swf.addEventListener (MouseEvent.CLICK, btnClick);
    gallery_logos_swf.addEventListener (MouseEvent.CLICK, btnClick);

    If anyone can help understand me this I would really appreciate. This is a very important project and the deadline is coming up very soon. Please help me understand how to load an external SWF on the main timeline and then charge an additional external swf within the first external swf. I'm puzzled.

    If I'm following the structure you describe, it's probably a problem of targeting.  If you load a swf into another swf I think the scenario is the same that if you load a swf in a web page...  The charging base is the document down the chain, which is your main swf if you test Flash (otherwise it would be so stable web page in a web page).  So when your portfolio is responsible in the hand, it's like living in the folder of the hand, so your swf portfolio should probably include sovereign wealth funds in targeting... as in...

    var defaultSWF:URLRequest = new URLRequest("swfs/galleries/gallery_print_swf.swf");

  • Problem with emulator no config.xml file found in the root of the file .zip Blackberry 10 ripple

    I just started development for blackberry 10. I had developed application in the native language. But with blackberry 10 I get "no config.xml file were found at the root of the .zip file" when I run my Hello World application on emulator of the ripple.

    Help is appreciated thanks.

    Here what I got on emulator ripple

    Here's my Helloworld project structure

    Your config.xml file is probably invalid.

    Copy and paste it into this XML validator. http://www.w3schools.com/XML/xml_validator.asp

    If there is a training error will not be able to correctly parse.

  • load an external xml in an external .swf responsible

    Hello...

    I have a problem of hail (more than 100 hours of thinkwork so far!), that I can't solve:

    I want to load an external swf loaded with a dynamically loaded xml (load from my file config.xml) wire.

    < bgColor = "000000" bgHover menuItem = "Fred" fontColor = "cccccc" fontHover = "ffffff" >
    Home < title > < /title >
    < btntitle > <! [CDATA [home]] > < / btntitle >
    external SWF < linktype > < / linktype >
    ./content/SWF/home.swf < url1 > < / url1 > < - loads the external swf in the main swf - >
    ./content/XML/home.XML < url2 > < / url2 > < loads the external xml file thet is necessary in the external swf loaded in the line of top - >

    < / menuItem >

    How can I get the external xml in the external swf file as a variable for the ActionScript in the loaded swf external (so I just put the path to the script in my external swf...).

    Can someone help me out here because I'm really stuck for now...

    Thanks in advance!

    Welcome William

    the path to the xml file is relative to the html file that includes your main swf.  No matter where the swf file loaded (except for the path that you will use in your loadMovie() method etc.).

  • SQL loader, problem with the POSITION &amp; EXTERNAL

    Hi gurus of the Oracle.

    I have problem with position and external.

    I have the data file with the data of 1 million records

    data delimiter is to and eventually closed by «»

    some lines are not loaded due to errors of data, i.e. data contains some «»

    now, we decided to use the position & external. am unable to write the control file.

    any help would be much appreciated

    The table name is person_memo, 4 columns

    ID_PERSONVARCHAR2 (9 bytes)
    TX_MEMOVARCHAR2 (1000 bytes)
    ID_USERVARCHAR2 (20 bytes)
    TM_STAMPTIMESTAMP (6)

    my control file is

    DOWNLOAD THE DATA

    ADD THE PERSON_MEMO TABLE

    FIELDS TERMINATED BY ' |'

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (

    ID_PERSON POSITION (1) "CUT (: ID_PERSON).

    , TX_MEMO POSITION (10) TANK (1000) "CUT (: TX_MEMO).

    , POSITION (1012) ID_USER "TRIM (: ID_USER).

    , TM_STAMP POSITION (1031) EXTERNAL (26) ' DECODE (: TM_STAMP, NULL, NULL, TO_TIMESTAMP (: TM_STAMP, ' YYYY-MM-DD - HH24.MI.)). SS. "(FF')).

    )

    specimen of data file

    "04725813" | "aka"Little Will"" "|" " 095TDEAN «|» 2013-02-21 - 11.13.44.632000

    "05599076" | "" FIRST NAME - ADDED A 'T' AS ON THE REG MAP | ' 016DDEAL ' |. ' 2014-04-11 - 10.06.35.598000

    Thanks and greetings

    REDA

    In your control file, EXTERNAL (26) must be INTEGER EXTERNAL (26).

    Unfortunately, this forum destroyed the spacing, so I can't say whether or not your data are positionnelles.  If it is positional, you can then use positions, but you need start and end positions.  The positions that you posted have nothing to do with the data you've posted.  If you use positions, you can eliminate the delimiters and the beginning and the end of citations using these positions.

    If your data are not positionnelles and you have quotes in your data in quotes, but you don't have the pipe delimiters in your data, then you can only use the delimiters and trim the quotes start and final data.

    I have demonstrated the two methods below, using test1.ctl for the positional method and test2.ctl for the defined method.

    Scott@orcl12c > host type test.dat

    "04725813" | "aka"Little Will"" | "" 095TDEAN «|» 2013-02-21 - 11.13.44.632000

    "05599076" | "" FIRST NAME - ADDED A 'T' AS ON THE REG MAP | ' 016DDEAL ' |. ' 2014-04-11 - 10.06.35.598000

    Scott@orcl12c > type host test1.ctl

    DOWNLOAD THE DATA

    ADD THE PERSON_MEMO TABLE

    FIELDS TERMINATED BY ' |'

    TRAILING NULLCOLS

    (ID_PERSON POSITION (02:10))

    , TX_MEMO POSITION (14:59)

    POSITION ID_USER (63:82)

    , TM_STAMP POSITION (85:110) EXTERNAL INTEGER (26) ' DECODE (: TM_STAMP, NULL, NULL,).

    TO_TIMESTAMP (: TM_STAMP, ' YYYY-MM-DD - HH24.MI.) SS. "(FF')).

    )

    Scott@orcl12c > type host test2.ctl

    DOWNLOAD THE DATA

    ADD THE PERSON_MEMO TABLE

    FIELDS TERMINATED BY ' |'

    TRAILING NULLCOLS

    (ID_PERSON "TRIM ("------"" FROM: ID_PERSON ")")

    , TX_MEMO CHAR (1000) "TRIM ("------"" FROM: TX_MEMO ").

    , ID_USER "TRIM ("------"" FROM: ID_USER ").

    , TM_STAMP INTEGER EXTERNAL (26) ' DECODE (: TM_STAMP, NULL, NULL,).

    TO_TIMESTAMP (: TM_STAMP, ' YYYY-MM-DD - HH24.MI.) SS. "(FF')).

    )

    Scott@orcl12c > create table person_memo

    2 (ID_PERSON VARCHAR2 (9 bytes)

    3, TX_MEMO VARCHAR2 (1000 bytes)

    4, ID_USER VARCHAR2 (20 bytes)

    5, TM_STAMP TIMESTAMP (6))

    6.

    Table created.

    Scott@orcl12c > host sqlldr scott/tiger control = test1.ctl data = test.dat log = test1.log

    SQL * Loader: release 12.1.0.1.0 - Production Thursday, May 15, 10:53:11-2014

    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

    Path used: classics

    Commit the point reached - the number of logical records 2

    Table PERSON_MEMO:

    2 rows loaded successfully.

    Check the log file:

    test1.log

    For more information on the charge.

    Scott@orcl12c > select * from person_memo

    2.

    ID_PERSON

    ---------

    TX_MEMO

    --------------------------------------------------------------------------------

    ID_USER

    --------------------

    TM_STAMP

    ---------------------------------------------------------------------------

    04725813

    aka "Little Will"

    095TDEAN

    21 FEBRUARY 13 11.13.44.632000 AM

    05599076

    FIRST NAME - ADDED A 'T' AS ON THE REG MAP

    016DDEAL

    11 APRIL 14 10.06.35.598000 AM

    2 selected lines.

    Scott@orcl12c > truncate table person_memo

    2.

    Table truncated.

    Scott@orcl12c > host sqlldr scott/tiger control = test2.ctl data = test.dat log = test2.log

    SQL * Loader: release 12.1.0.1.0 - Production Thursday, May 15, 10:53:11-2014

    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

    Path used: classics

    Commit the point reached - the number of logical records 2

    Table PERSON_MEMO:

    2 rows loaded successfully.

    Check the log file:

    test2.log

    For more information on the charge.

    Scott@orcl12c > select * from person_memo

    2.

    ID_PERSON

    ---------

    TX_MEMO

    --------------------------------------------------------------------------------

    ID_USER

    --------------------

    TM_STAMP

    ---------------------------------------------------------------------------

    04725813

    aka "Little Will"

    095TDEAN

    21 FEBRUARY 13 11.13.44.632000 AM

    05599076

    FIRST NAME - ADDED A 'T' AS ON THE REG MAP

    016DDEAL

    11 APRIL 14 10.06.35.598000 AM

    2 selected lines.

  • Problem with loading/unloading SWFs external

    Hey! Thank you in advance for any assistance you can provide. Here's the question: my master I am loading an external swf file. This file overlays the original file, so I started looking for a way to download the original file. I was not very successful. I've looked through these forums and did research on google, too, but found only a partial solution.  Right now, I have created a background layer that allows the loaded file cover the original file without bleed through.  I'd rather have the original file unload before loading the file newly appointed.

    Here is the code that I found so far:

    Declaring Variables
    var Xpos = 0;
    var Ypos = 0;
    var loader: Loader = new Loader();
    var swfFileToLoad: URLRequest = new URLRequest ("holdHumans.swf");

    Go to the creation
    removeChild (loader);
    Loader.Load (swfFileToLoad);
    Loader.x = Xpos;
    Loader.y = Ypos;
    addChild (loader);

    This code is normally associated with a key event, but I have to be able to use it inside a timer function in the original file. When the function is called, I get this message: Error #2025: the supplied DisplayObject must be a child of the caller.

    I get this message too when I try to use it in the swf file loaded externally.

    How to solve this problem?

    Thank you

    Michael

    You are welcome.

  • Fill the tree with complex external XML file control

    Hi all. I've been combing through forums for two days and have not been able to find a solution to my problem. I'm trying to populate a control of the tree with an external xml file, but the xml file is not a simple. It is complex, and I don't know how to get the tree to display these data. I have attached the code. Can someone take a look and let me know how I could get this to work? Thank you!

    What does not work?

    Complexity of the XML is not, in itself, an issue for the tree.

    Also, I recommend using straight XML, unless specifically, you need Collection features.

    Tracy

  • Polish fonts - ISO 8859-2 (Latin 2) - from the external xml file

    Hello

    I need to import the Polish text in my flashapplication. I load text from an external xml file.
    so far everything I try is unable to display special characters.

    When I encode the text, it works, but it's no choice...


    more than two things: I have to dynamically create the textfield (createTextField();), and the police must be incorporated.

    can someone tell me the solution of this problem?
    any help is appreciated!

    Thank you
    Marcin

    Hello

    here a solution that worked for me:
    I just had to change the language and location settings in windows and flash would take the right code of basic police...

  • Connection to the external xml file

    How to use an external xml file as a data source for my LiveCycle form?

    I have a xml file on my server which is updated daily by a script. My LiveCycle form is on the server and can be pushed to the client by the click of a button on a web page or similar. Is it possible to have the LiveCycle form refresh its data before being sent to the client, or every day?

    I thought that the burden of form, a JavaScript function could check if the form is on the server, or check if the xml file is there, and if this is the case, update itself, else do nothing.

    I prefer to keep the xml file and the distinct shape that other applications and do scripts use xml file.

    Thank you.

    (1) if the form is used internally on the same network (ie: the xml file is still available over the network to your th) form questionable local files, but it requires advanced script.

    I did it with network drives shared tho. -If you do, I use the two solution

    (2) assuming you are using LC Reader Extensions as well as the form is "all over", not always on the network starting.

    -Expose the XML file through a Web service (if it is not sensitive data)

    -Get the form to query the Web service

    (3) but if you have installed with LiveCycle Forms.

    Use the readXML and how to bind the XML with the form.

  • Load an external audio file in table?

    Hello.

    I figured out how to load an external video file - and I can play an audio file imported, but I can't seem to use both methods to load an external audio file into a table. (doh)

    Here is my audio code:

    var tour_audio:Array = [tour1, tour2];

    var my_num:Number = Math.floor (Math.random () * 2);

    var ChosenSound = tour_audio [my_num];

    var playing: Sound = new ChosenSound();

    Playing.Play ();

    Here's my video code:

    var my_videos:Array = new Array ('link1.mp4', 'link2.mp4', 'link3.mp4', 'link4.mp4');

    var randomIndex = Math.floor (Math.random () * my_videos.length);

    my_player.source = my_videos [randomIndex];

    I tried ' var tour_audio:Array = ["link1.mp3", "link2.np3"];  - but it does not work.

    Ty

    //  ------------------------

    the table is from your code, the table will be the references for the two audio files

    var tour_audio:Array = new Array();

    then you must create two instances of the sound class to contain the audio files you load into

    var soundClip1:Sound = new Sound();

    var soundClip2:Sound = new Sound();

    then you need a sound channel to play audio files

    var sndChannel:SoundChannel = new SoundChannel();

    It's your randomizer code

    var my_num:Number = Math.floor (Math.random () * 2);

    now, you load each sound file in your instances of the sound using the URLRequest class

    soundClip1.load (new URLRequest ("tour1.mp3"));

    soundClip2.load (new URLRequest ("tour2.mp3"));

    to find out when loading, the files have completed, you must add an event listener to each of the classes of sounds

    These event listeners will be triggered the functions onComplete1 and onComplete2 when loading is completed to each sound file

    soundClip1.addEventListener(Event.COMPLETE,onComplete1,false,0,true);

    soundClip2.addEventListener(Event.COMPLETE,onComplete2,false,0,true);

    This is the function for the first hearing of his charger, it will add the instance of the sound in your table class once loaded the sound

    function onComplete1(evt:Event):void {}

    tour_audio.push (soundClip1);

    }

    This function does the same work for the second audio file

    function onComplete2(evt:Event):void {}

    tour_audio.push (soundClip2);

    }

    Call this function to play the selected audio file

    It could be called from the function of onComplete2 above

    function playRandomSound (): void {}

    var ChosenSound = tour_audio [my_num];

    sndChannel = ChosenSound.play ();

    }

    //  ------------------------

    I added comments to the code itself which should help to explain what is happening. Yes, AS3 is just jam packed with intimidating stuff. As use you it, it will start to make sense.

  • XMLList to the external XML file

    Hi all

    I'm new to Flex, but I was impressed with it so far. I was able to create a simple, where things application like navigation trees and the data in the table were populated based on XML stored in tags mx:XMLList inside the main document. To clean things up, I thought that I would like to move the data in external XML files. I copied the data files and verified that the data has always been a single top-level node. Then, noted that mx:XMLList does not support the attribute 'source', so I converted to the use of mx:XML within the application mxml tags. Compiles the application now, but all of the XML hierarchy displayed in the form of a single node, instead of being analyzed in the tree nodes. No idea what I'm missing here? And thanks in advance for the noob easy going. ;-)

    -Josh

    Yet once, answered myself for posterity.

    For the tree data, the top node is implied, so I just had to change the dataProvider to {deviceTree.node}. For the data in the table, it was a little more difficult, where rather to link using a tag, I rather linked to it as a and then created a where the source is specified as the {[id XML]. [node]}. (once again the top node was already implicit)

  • Write in an external xml file

    OK, so ive been reading on xml and found theres this big thing appeal. appendChild(). that let your add a node to an xml file.

    Here's the catch, I can write in an external xml file, without the need to load it, DIRECTLY through flex?

    or I have to use some php i.e. backend


    Thanks heaps!

    ojk007

    The Flash Player, when it is hosted by a browser, severely limits access to the resources of the host computer. In other words, you cannot read and write files. If the XML file resides on the server, then you can use the code server-side (e.g. PHP) and edit the file, or you can load the XML file into your Flex application on the client computer, change it, then refer to something that can write the file.

  • External XML file of a chart

    I'm new to Flex, but using samples and documentation, I was able to create a simple chart that uses an external xml file for the data source is.

    I'm not sure how to get to the next step, i.e.:
    Having the table listening to all the changes in the xml file and update running.

    Can someone point me samples or documents that can help out me?

    Thank you

    source = 'path' is a * compile time * operation, so the XML is in fact embedded in the swf file.

    Loading the runtime, then use HTTPService.

    In addition, do not use mx: Model and if you are using HTTPService, be sure to set resultFormat = "e4x".

    Search the archives if you want to know why and read more details and examples.

    Tracy

  • problem with loading text

    I use a loadvars action to load the external .txt file, and it loads the file BUT will read numbers out of the file.
    It will not read letters that make words - making phrases, which make me angry.

    No idea why this would be? I tried to play with the encoding of the .txt file, it would be something in the code AS? (even if that it should load the file since it is the reading of the number.)

    Any suggestions?

    Corrected in "General Discussions Forum"... remove the text field and makes a new... now works... you know!

Maybe you are looking for

  • Apple music and applications when you change the country

    Hello guys! I'm of the Russia. Moved to Canada some time ago. I obviously Russian Russian and Russian credit card App Store account. What happens to my Apple music and applications when I change the country for the Canada and change the method of pay

  • Qosmio G50 - 12 H - screen goes black

    I have the screen so he died in 20 minutes. In all what's going at some point retrieves no more and remains black.To whom it is due? Thank you

  • Trouble visualizing Bluray movies

    Hello I have a hp dv5t with Optiarc BD5500S Bluray player. I'm able to watch normal DVDs, but not the BankJob movie (it's the first bluray dvd I tried). HP Quickplay plays the trailers but not the actual film, the menu, but I can not click on 'Play m

  • I was doing my administrator disable

    I've been shooting my administrator account disable by mistak and now I am loging on the guest account, and with it that I can't do my administrator activate again. and I can't go back to reuse the administrator pleazr help me how I can go back to th

  • Why the 4g LTE 40 Strip is not supported in Acer z630s

    In India only 40 gang's all here and I can't use 4 GB, pls do something!