Re: [Flashcoders] Re: simulating mouse clicks

2006-10-24 Thread Vishal Kapur
So I was able to get this to work for a large majority of cases by handling the following special cases: 1) Clicking a row in a List, code snippet: listObj.selectedIndex = theObjToClick.__dataIdx; listObj.dispatchEvent( {type:change, target:listObj, name:change} ); 2) Clicking a Menu item,

RE: [Flashcoders] Re: simulating mouse clicks

2006-10-20 Thread Kevin Aebig
I'm assuming that you have something other than the pointer acting like it has control in the same way as the cursor. I've done this before for some specific circumstances and it required hit collision detection and checking for every possible scenario. - Check for onPress and onRelease and

Re: [Flashcoders] Re: simulating mouse clicks

2006-10-19 Thread Yehia Shouman
Hi, what you wanna do is to send Windows messages, this is not supported in flash, and I know nothing of a workaround. Sorry Yehia On 10/19/06, Vishal Kapur [EMAIL PROTECTED] wrote: I'll ask the question a different way: what are all the ways that a mouse click event can be handled in a flash

Re: [Flashcoders] Re: simulating mouse clicks

2006-10-19 Thread nelson ramirez
Other than onPress/Release you can try onMouseDown / HitTest combination. It's not quite clear what you're trying to do though. or maybe i'm reading it in dumb mode right now. On 10/19/06, Yehia Shouman [EMAIL PROTECTED] wrote: Hi, what you wanna do is to send Windows messages, this is not