Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 21st, 2003, 08:15 PM
morro1980 morro1980 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 morro1980 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 7 sec
Reputation Power: 0
returning XML from loadVariables

gday all,

i am currently attempting to connect to a script developed in jsp which requires me to send the variables through post. As a result I am using loadVariables in order to do this. The script then returns an xml element which indicates success or failuer...my problem is that i cannot for the life of me work out how to consume this xml and then access it...

can anybody shine some light on this problem??

many thanks in advance
morro

Last edited by morro1980 : September 21st, 2003 at 09:40 PM.

Reply With Quote
  #2  
Old September 22nd, 2003, 08:00 AM
1ain 1ain is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Bath
Posts: 26 1ain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
when you call your data, are you using the xml sendandload method or the variables method?

if you want to discifer the xml you should use something like:

xml_in = new XML();
xml_in.ignoreWhite="true";
xml_in.onLoad = xmlparse;
xml_in.load("my.xml");

then all you have to do is write a parser to access it. there's a good example of how this all works here:

http://actionscript-toolbox.com/xmlobject.php

hope this is of some use.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > using sendAndLoad across domains


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway