dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: New XML from a variable defined within the SWF

  1. #1
    Senior Member ironmallet's Avatar
    Join Date
    Feb 2001
    Posts
    252

    New XML from a variable defined within the SWF

    Is it possible to load information pasted into input text box as an XML object

    I have tried system_xml = new XML(textbox_mc.contents)
    In this case trace(system_xml.firstChild) returns the 'xml' file just as pasted
    Thing were looking good
    But the XML cannot be read normally.

    I've verified that external XML files on the server are loading and being read properly

    I'm just missing the syntax - or the functionality just isn't there

    Text Variable ----> XML Object , is this possible?

  2. #2
    Senior Member ironmallet's Avatar
    Join Date
    Feb 2001
    Posts
    252
    Found Answer:

    system_xml = new XML();
    system_xml.parseXML(textbox_mc.contents);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center