Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Unity Webplayer Scripting

Discussion in 'Editor & General Support' started by alejobrainz, Mar 14, 2006.

  1. alejobrainz

    alejobrainz

    Joined:
    Sep 10, 2005
    Posts:
    288
    Hello. We are starting to deploy a project for the web and plan to make a Flash based gui around the javascript. I need to receive events from the app and also fire methods from flash is this possible? is this documented somewhere?

    Thanks,

    Alejandro.
     
  2. Sync1B

    Sync1B

    Joined:
    Sep 13, 2005
    Posts:
    561
    Well I have had minimal expiriance in using MySQL and PHP with flash. I think that would be the only way in which flash could comunicate with unity. Not sure about the unity side but I know that there are a few tuts on using MySQL and PHP with flash. Just google it.

    -Bill
     
  3. dacloo

    dacloo

    Joined:
    Jun 30, 2005
    Posts:
    469
    Unfortunately you cannot embed Flash in a Unity container, or fire events from/to Flash. Perhaps it would be a nice idea though to be able to use Javascript (HTML) to communicate between languages.

    I also thought about the fact that Flash makes it possible to create cool game menus very easily, unlike Unity which is ofcourse focussed on the game itself. Some way to integrate Flash inside Unity would be awesome, but perhaps a (technical) bridge too far.
     
  4. alejobrainz

    alejobrainz

    Joined:
    Sep 10, 2005
    Posts:
    288
    I don't want to overly flash and unity on the same canvas space, just have one besides the other communicating. Other web engines like turntool or quest support this. If I can fire methods from unity to an html via javascript or fire methods form the page's javascript to unity a whole world of possibilities become feasible.