PDA

View Full Version : Reading in a Complex url - XML


caseyctg
07-27-2009, 04:14 PM
Hey guys, i am trying to work with this xml in AS3.

http://www.hardassetssf.com/_vti_bin/owssvr.dll?CS=65001&XMLDATA=1&RowLimit=0&List={76269379-92F6-4418-8605-0A5414F91AA9}&View={9F672220-5766-409C-9C90-D746C4B85223}

But i am getting a url error. I was wondering if anyone knew how to read this in, or what might be causing me to get this error:
Error opening URL 'http://www.hardassetssf.com/_vti_bin/owssvr.dll?CS=65001&XMLDATA=1&RowLimit=0&List={76269379-92F6-4418-8605-0A5414F91AA9}&View={9F672220-5766-409C-9C90-D746C4B85223}'
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://www.hardassetssf.com/_vti_bin/owssvr.dll?CS=65001&XMLDATA=1&RowLimit=0&List={76269379-92F6-4418-8605-0A5414F91AA9}&View={9F672220-5766-409C-9C90-D746C4B85223}
at SharepointXML_fla::MainTimeline/frame1()


the xml shows up when you go here, but it won't read in. Any suggestions, or comments would be very helpful. Thanks ahead of time.

Slowburn
07-27-2009, 08:12 PM
the link above looks like it requires authentication, so this will fail if it doesn't contain the username/password info.
Also, you should add an IOErrorEvent to handle errors when loading.( which is th error above ).