you could eventually output the result in xml then parse it in flash