Re: [flexcoders] Race conditions when event handlers triggered from different targets

2009-08-30 Thread Jon Gunnip
27, 2009 5:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Race conditions when event handlers triggered from different targets Alex, Thanks. Just to be clear, are you saying that once event handler A' begins executing, another event handler B' will not begin executing

RE: [flexcoders] Race conditions when event handlers triggered from different targets

2009-08-27 Thread Tracy Spratt
You can't predict order, but you can be assured that there is no parallel processing of actionscript code. I don't know the internals of the flash player well enough to say in detail but there are rules that control what code is processed when. If you need to know that two async processes

Re: [flexcoders] Race conditions when event handlers triggered from different targets

2009-08-27 Thread Jon Gunnip
Thanks, Tracy. I'm not principally concerned with knowing when two operations have completed. I'm more concerned about checking the status of a global variable in event handler A' and then having that variable's value changed by event handler B' before A' is finished executing. In Java you might

RE: [flexcoders] Race conditions when event handlers triggered from different targets

2009-08-27 Thread Alex Harui
, August 27, 2009 1:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Race conditions when event handlers triggered from different targets Thanks, Tracy. I'm not principally concerned with knowing when two operations have completed. I'm more concerned about checking the status of a global

RE: [flexcoders] Race conditions when event handlers triggered from different targets

2009-08-27 Thread Gordon Smith
. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Thursday, August 27, 2009 3:55 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Race conditions when event handlers triggered from different targets Because actionscript is single

Re: [flexcoders] Race conditions when event handlers triggered from different targets

2009-08-27 Thread Jon Gunnip
. Blog: http://blogs.adobe.com/aharui -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jon Gunnip Sent: Thursday, August 27, 2009 1:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Race conditions when event handlers

RE: [flexcoders] Race conditions when event handlers triggered from different targets

2009-08-27 Thread Gordon Smith
SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jon Gunnip Sent: Thursday, August 27, 2009 5:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Race conditions when event handlers triggered from different targets Alex, Thanks. Just