views:

38

answers:

1

Hi!

I'm using flex4 and actionscript, and need to treat an event in a synchronous mode. Is it possible that? More exactly, i want to execute some queries in a database, and need to be synchronously. Any suggestions?

+1  A: 

Nope. The FlashPlayer execution model doesn't allow that. If you really need to do that a lot, I suggest you create a domain specific markup/scripting language, or create a library to help arranging the code in a concise, clear and linear manner (eaze demonstrates, how you can do that with chaining).

greetz
back2dos

back2dos