Page 1 of 1

Invisible window,FlashTexture, and Mouse Events

Posted: Sun Aug 22, 2010 4:26 pm
by kjohnston
I am trying to get f-in-box to work by using the FlashTexture example, which I have extended to support mouse events.

I see that when I pass the MouseMove event into the control, the control does show the hover state. However, it then immediately loses the hover state. I believe this is because the hidden flash window loses focus and the parent window regains focus.

Is there a way to keep the hidden window in focus so that hover states are preserved?

I am also getting inconsistent results with passing mouse up / mouse down events. Sometimes it seems to click a button and other times it does not. Any suggestions? I am using the sample code from another forum to send a mouse move event first, and then the mouse up / down events. It probably also has to do with focus being lost / regained.

I do not have any of these issues when I run the example app with our flash control that displays the flash app in a window that is always visible.

Posted: Mon Aug 23, 2010 8:28 am
by Softanics
Hello,

Yes, it's a known problem. I can only suggest you to try the approach from this topic:
http://www.f-in-box.com/forum/viewtopic.php?p=1429

Thank you.