I've built some apps using Flash via ExternalInterface. It's my
experience that it just doesn't work correctly in hosted mode. Also,
IE, for some reason, unless I attached the Flash object directly to
the document, it would not work.

On Oct 24, 3: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
-~----------~----~----~----~------~----~------~--~---

Reply via email to