Hi Mark,
Are you encountering this error message in hosted mode? If so, the reason
why is because, for the moment, Flash plug-ins aren't available on the
embedded hosted mode browser. What you can do is test out your Flash
interactions in web mode by compiling and running your GWT application in a
regular browser.
You can workaround the error messages in hosted mode by adding
GWT.isScript() conditionals around code that is interoperating with your
Flash components. These will make sure the code gets executed in web mode
and skipped in hosted mode. Once hosted mode goes out-of-process in a near
future release of GWT, this will no longer be an issue and you will be able
to use hosted mode with Flash or any other browser plug-ins.
Hope that helps,
-Sumit Chandel
On Fri, Oct 24, 2008 at 12:37 AM, mark morreny <[EMAIL PROTECTED]>wrote:
> Hi,
>
> I traced the code and found that GWT hangs when executing:
> BridgeObject flexApp = swfWidget.root();
> I have checked that swfWidget is not null and here is the way I created
> swfWidget:
> SWFParams params = new SWFParams("MyTest.swf", new Integer(400),
> new Integer(400));
> params.addVar("bridgeName", "audio");
> swfWidget = new SWFABridgeWidget(params);
> BridgeObject flexApp2 = swfWidget.root();
> Does anyone know why?
>
> The error I am getting is :
>
> [ERROR] Uncaught exception escaped
> com.google.gwt.core.client.JavaScriptException: (TypeError):
> '$wnd.FABridge[...]' is null or not an object
> number: -2146823281
> description: '$wnd.FABridge[...]' is null or not an object
> at org.argunet.gwt.fabridge.client.SWFABridgeWidget.getBridgeRoot(Native
> Method)
> at
> org.argunet.gwt.fabridge.client.SWFABridgeWidget.root(SWFABridgeWidget.java:79)
> at
> com.yht.ui.gwt.client.widget.util.AudioRecorder.init(AudioRecorder.java:69)
> at
> com.yht.ui.gwt.client.widget.util.AudioRecorder.<init>(AudioRecorder.java:39)
> at com.yht.ui.gwt.client.widget.MainPanel.getData(MainPanel.java:194)
> at
> com.yht.ui.gwt.client.widget.util.BasePanel.getStore(BasePanel.java:288)
> at
> com.yht.ui.gwt.client.widget.util.BasePanel.getAccordionNav(BasePanel.java:156)
> at com.yht.ui.gwt.client.widget.util.BasePanel.init(BasePanel.java:83)
> at com.yht.ui.gwt.client.widget.MainPanel.<init>(MainPanel.java:118)
> at com.yht.ui.gwt.client.Application$1.onSuccess(Application.java:50)
> at com.yht.ui.gwt.client.Application$1.onSuccess(Application.java:1)
> at
> com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:215)
> at
> com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:254)
> at
> com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:226)
> at
> com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:217)
>
>
> Thanks in advance for all your help.
>
> Mark
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---