Forum Discussion
ory_z
14 years agoContributor
Hi David,
Thanks for your suggestion. I have been playing with this and here are the (somewhat strange) results:
To see if executing the command asynchonously helps, I have added a break point in the next operation after the ClickButton. As you can see in the first 2 attached videos [CardSharl_click_ESL_button_-__normal.swf] and [CardSharl_click_ESL_button_-__asunchronous.swf] it seems that indeed the suggested method helps (in the asynchronous one it gets to the breakpoint straight after clicking the button, where in the "normal" one there is a delay before getting to the break point).
So, to make sure that this solves the issue I have timed the full operation (that sub I'm executing) both in "normal" and asynchronous mode ([CardSharl_click_ESL_button_-__asunchronous_Full.swf] and [CardSharl_click_ESL_button_-__normal_Full.swf]) and to my surprise I have found out there is no difference in the total time the sub executes - they both finished in around 28-30sec... Far more then what I'd expect that sub to execute in!
So back to the starting point I suppose. What do you think?
PS
I have also attached the script file Im executing in the videos (it's the last sub).
Thanks for your suggestion. I have been playing with this and here are the (somewhat strange) results:
To see if executing the command asynchonously helps, I have added a break point in the next operation after the ClickButton. As you can see in the first 2 attached videos [CardSharl_click_ESL_button_-__normal.swf] and [CardSharl_click_ESL_button_-__asunchronous.swf] it seems that indeed the suggested method helps (in the asynchronous one it gets to the breakpoint straight after clicking the button, where in the "normal" one there is a delay before getting to the break point).
So, to make sure that this solves the issue I have timed the full operation (that sub I'm executing) both in "normal" and asynchronous mode ([CardSharl_click_ESL_button_-__asunchronous_Full.swf] and [CardSharl_click_ESL_button_-__normal_Full.swf]) and to my surprise I have found out there is no difference in the total time the sub executes - they both finished in around 28-30sec... Far more then what I'd expect that sub to execute in!
So back to the starting point I suppose. What do you think?
PS
I have also attached the script file Im executing in the videos (it's the last sub).