Flash Export in Air application GUI events misaligned

We managed decent use of Unity 3D assets exported as SWFs for an AIR based education project. However an issue I’ve run into relates to the position of the stage3d element and the unity gui components. We are not doing full screen 3d content, rather I have the stage3d in a region on in the application window. This works, however the unity asset has GUI components, (buttons and toggles) but mouse clicks are misaligned. (See image)

Repositioning of the Unity generated Flash content within the UnityContentHost is not currently supported in the Flash Preview. While it’s technically possible to move the content, it is likely to cause issues such as the mouseover problem you’ve reported. For now, you’ll need to work round this such that your Unity content can be positioned at (0,0).