Getting data from javascript to flash

Hi All,

It’s been a while since I posted, but now that I’m starting to deal a little more with flash I’m hoping I might be able to find a little help.

I’ve built a little test setup that uses ajax to get my data from flash->javascript->php->mysql and back to javascript. I’m hoping to port my poor little web based role playing game into a more effective GUI with drag+drop, animations and all that other good stuff that flash allows.

Using fscommand() I can send the stuff to my Ajax client no problems. Works a real treat. But fscommand() returns nothing.

My question is… Am I stuck having to send of a LoadVars request to another php script that’s generating XML or formatted vars, or is there a way to tell javascript to pass data directly back to the flash movie?

Thanks in advance!