If memory serves me right try this:
<?
$xml = "success";
print "xml=$xml";
?>
$xml is a variable that holds the data and xml will be the member of the
LoadVars instance in flash when
the onLoad event is triggered.
Quick Example:
class Test
{
var lv:LoadVars = new ....
some method
{
...
lv.onLoad = Delegate.create(this, response);
lv.load(a_php_url, lv, method);
...
}
response(success:Boolean)
{
trace(lv.xml);
}
}
That should work.
Regards,
Rob.
Helmut Granda wrote:
Hello all,
Im using to reading variables from PHP like this
<?
echo "form=success";
?>
but I'm having some issues trying to read the same variables from JSP.
If I
access the file from within the browser I can see the variables but in
flash
with loadVars it shows as Undefined.
Anyone knows if the information has to be treated different?
TIA.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com