x


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)

alt text

example.jpg (71.6 kB)
more ▼

asked Jun 25 '12 at 07:07 PM

pelted gravatar image

pelted
0 1 2 2

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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).

more ▼

answered Jul 04 '12 at 02:35 PM

catburton gravatar image

catburton ♦♦
1.6k 3 13

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3815
x278
x21

asked: Jun 25 '12 at 07:07 PM

Seen: 464 times

Last Updated: Jul 04 '12 at 02:35 PM