开发者

Is it possible to treat Flex' events in a synchronous way?

开发者 https://www.devze.com 2023-01-11 09:16 出处:网络
I\'m using flex4 and actionscript, and need to 开发者_StackOverflow中文版treat an event in a synchronous mode. Is it possible that? More exactly, i want to execute some queries in a database, and need

I'm using flex4 and actionscript, and need to 开发者_StackOverflow中文版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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号