Before updating to Windows 10 you may need to return your Pro license. More information here

integrate unity with flex web app

how can i integrate unity 3d with my flex application? how can i show a flex gui in front of a unity 3d scene? overlay? fullscreen? how can i synchronize unity and flex logic? how can i create a texture in flex at runtinme and immediately use it within unity? thanks for any ideas, flexrails

more ▼

asked Nov 17, 2009 at 08:59 PM

avatar image

806 75 65 101

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

1 answer: sort voted first

There is an open source project called u3dobject, which is a good start for communication between Unity and Flash/Flex. Details about this project can be found here: http://code.google.com/p/aquiris-u3dobject/

Having a Flash overlay is not possible. You could have Flash elements on the page and let it communicate with Unity. In case Flash/Flex is part of your application, going fullscreen is a problem, as you can only go fullscreen with your Flash application OR Unity application. Both is not possible.

Without the u3dobject you can have communication between Unity and Flash elements. Check the documentation for this: http://unity3d.com/support/documentation/ScriptReference/Application.ExternalCall.html or a blogpost that I wrote a while ago: http://www.paultondeur.com/2008/11/12/unity3d-communication-with-browser-and-flash/ (including some examples of what could be possible).

I highly recommend using u3dobject.

more ▼

answered Nov 17, 2009 at 10:17 PM

avatar image

95 7 5 11

thanks for your competent answer. so that would mean i can have flex and unity apps side by side on one page, but not overlapping - correct? can i resize the unity viewport at runtime? thanks, flexrails

Nov 17, 2009 at 11:17 PM flexrails

That is correct! Also resizing the size of the viewport is possible by adjusting the width and height properties of the element on the page.

Nov 18, 2009 at 09:19 PM PaulT
(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



Answers and Comments



asked: Nov 17, 2009 at 08:59 PM

Seen: 3396 times

Last Updated: Nov 17, 2009 at 08:59 PM