An interesting challenge to solve - Overriding default mouseX?

Greetings!

I need to do something and I don’t know if it’s possible… in a proper way.

Situation:

1 - I have an FULLSCREEN application that extends to two monitors in a Windows system.

2 - The graphic card is extending the single desktop to the two monitors, so the fullscreen fits everything correctly.

3 - Only one monitor is interactivity-enabled, with an interactive touch-sensitive foil on it, which works great.

4 - The second monitor is interactivity-disabled, it just displays stuff depending on what happens on the first monitor.

The Problem:

The interactive foil on the interactivity-enabled monitor responds as if it is the whole monitor. But it only covers one monitor!! The whole monitor, are the two screens put together. I obviously can’t cut the interactive foil in 2, and then stretch the two parts to fill a monitor each…

So if one touches beyond 50% of the foil’s width, the touch event will actually occur in the second monitor!

A fact for the solution is - if all Mouse Events occur with mouseX divided by 2, everything will work fine!


So the question is - how to make all Mouse Events’s mouseX be divided by 2 ?

Is there a way to do that in the core of the actionscript MouseEvents handling?

thanks in advance for any ideas ! :tini: