Skip navigation
Currently Being Moderated

CS5.5 can't find the XML Connector Component - what give

Apr 14, 2012 11:46 PM

I'm working on a actionscript 2 file in flash CS5.5 and can't find the XML Connector Component any place. What happened to it?  How are you suppose to get a round it missing. Is there someplace I can download the .swc file and install it? converting to action script 3 is not an option in this case.

 

thanks

 

Joel

 
Replies
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    Apr 15, 2012 7:34 AM   in reply to jdhughen

    use the urlloader class to load an xml file.

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    Apr 15, 2012 1:05 PM   in reply to jdhughen

    with as2, use the xml class.

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    Apr 15, 2012 5:44 PM   in reply to jdhughen

    it's pretty straight-forward:

     

    var xml:XML =  new XML();

    xml.onData = parseXML;

    xml.loadXML("yourxmlfile.xml");

     

    function parseXML(src):Void{

    trace(src)

    }

     
    |
    Mark as:
  • kglad
    72,228 posts
    Jul 21, 2002
    Currently Being Moderated
    Apr 15, 2012 10:30 PM   in reply to jdhughen

    you're welcome.

     

    you only need to understand a few things (attributes, childNodes, firstChild, nextSibling and nodeValue) and use trace() to make sure you are where you want to be in the hierarchy.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points