Flash: How to dispatch a click event at the top of a loaded .swf?

Posted by Myk on Stack Overflow See other posts from Stack Overflow or by Myk
Published on 2010-06-15T19:19:45Z Indexed on 2010/06/15 23:02 UTC
Read the original article Hit count: 144

Filed under:
|
|
|

So I'm trying to build a tool that will allow me and other users to all open the same .swf, and then I as the Admin user am able to interact with mine while they all see my mouse movements and button clicks etc on theirs.

I'm using BlazeDS to manage this and I'm getting data sent back and forth etc - no difficulties there. The issue I'm running into is this:

In an "Admin" instance, I click a button. I capture that X and Y, then tell Blaze to tell my clients to dispatch a Click event at that X and Y. On my client side, I get that data and dispatch a Click event at that X and Y - but the click is actually caught at the stage level. The click on my client side takes place UNDER all of my buttons and other content - so the whole thing fails.

Does this make sense? Is there a way to tell it to start the click event at the top?

© Stack Overflow or respective owner

Related posts about flex

Related posts about flash