|
|||||||
![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
Hi,
How do I execute a javascript inside a "gxt page"? Specifically I´m trying to integrate with a plugin that has this javascript bridge: http://www.unifycommunity.com/wiki/i...le=UnityObject As this page says, I included this code inside my html file: Quote:
inside a Html component´s content. Quote:
it wrong? TIA, R. |
|
#2
|
|||
|
|||
|
You can create a Native Method:
public native void executeJS() /*-{
var uniObj = new UnityObject("example.unity3d", "example", "640", "480", "000000", "000000");
uniObj.write();
}-*/;
Hope this helps. |
![]() |
| Thread Tools | |
|
|