Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by flexrails · Nov 17, 2009 at 08:59 PM · webplayerweb

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

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by PaulT · Nov 17, 2009 at 10:17 PM

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.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image flexrails · Nov 17, 2009 at 11:17 PM 0
Share

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

avatar image PaulT · Nov 18, 2009 at 09:19 PM 0
Share

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.

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Web-project "Session End" 0 Answers

Once Unity loads (Web player) how do I prevent it from being *Focused*? 0 Answers

Out put data from web version 2 Answers

www.texture different in editor and on webplayer 1 Answer

How to pass variables to my WEBapp through the html provided after building the app? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges