Debugging with firebug i can see this error:
$wnd.FABridge[org_argunet_gwt_fabridge_client_SWFABridgeWidget_
$getBridgeRoot__Lorg_argunet_gwt_fabridge_client_SWFABridgeWidget_2_bridgeName_0]
is undefined
org_argunet_gwt_fabridge_client_SWFABridgeWidget_
$root__Lorg_argunet_gwt_fabridge_client_SWFABridgeWidget_2(<div
id="swfDivID_0"><embed type="application/x-shockwave-flash"
src="TimeLine.swf" id="swfID_0" name="swfID_0" bgcolor="ffffff"
quality="high" allowscriptaccess="always" swliveconnect="true"
flashvars="bridgeName=timeline" height="100" width="800"></div>)
5C3C3FF3...ache.html (línea 7904)

[Break on this error] obj =
(org_argunet_gwt_fabridge_clie...WFABridgeWidget_2_bridgeName_0].root
());

On 6 jul, 21:57, Lena <lena.he...@gmail.com> wrote:
> I am working with GWT and trying to add a flex application in the web.
> I am using  gwt2swf.jar and gwt-fabridget.jar and the Flex app shows
> up but if I try to do any action it shows an error.
>
> The gwt code looks like this:
>     SWFParams params = new SWFParams("TimeLine.swf", new Integer(800),
> new Integer(100));
>
>     params.addVar("bridgeName", "timeline");
>     swfWidget = new SWFABridgeWidget(params);
>
>     vPanel.add(swfWidget);
>
>     swfWidget.show();
>
>     BridgeObject flexApp = swfWidget.root();
>
> Last line is the one producing the error when running in hosted mode:
> [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 proyecto.gen.client.Modulo1.calculateTimeLine(Modulo1.java:217)
>     at proyecto.gen.client.Modulo1.access$1(Modulo1.java:209)
>     at proyecto.gen.client.Modulo1$1$1.onSuccess(Modulo1.java:88)
>     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)
>
> I've read 
> thathttp://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
> thread. They mention it doesn't work on hosted mode and suggested to
> try it in web mode but it's still not working.
>
> Now the error looks like this:
> com.google.gwt.core.client.JavaScriptException: (TypeError):
> $wnd.FABridge[org_argunet_gwt_fabridge_client_SWFABridgeWidget_
> $getBridgeRoot__Lorg_argunet_gwt_fabridge_client_SWFABridgeWidget_2_bridgeName_0]
> is undefined
>  fileName:http://localhost:8888/proyecto.gen.Modulo1/57D7D7A778C1FDC77F3CA4E59D...
>  lineNumber: 7908
>  stack: org_argunet_gwt_fabridge_client_SWFABridgeWidget_
> $root__Lorg_argunet_gwt_fabridge_client_SWFABridgeWidget_2([object
> Object])@http://localhost:8888/
> proyecto.gen.Modulo1/57D7D7A778C1FDC77F3CA4E59D344299.cache.html:7908
> proyecto_gen_client_Modulo1_
> $calculateTimeLine__Lproyecto_gen_client_Modulo1_2Ljava_util_List_2
> ([object Object])@http://localhost:8888/
> proyecto.gen.Modulo1/57D7D7A778C1FDC77F3CA4E59D344299.cache.html:8162
> proyecto_gen_client_Modulo1$1$1_
> $onSuccess__Lproyecto_gen_client_Modulo1$1$1_2Ljava_lang_Object_2
> ([object Object],[object Object])@http://localhost:8888/
> proyecto.gen.Modulo1/57D7D7A778C1FDC77F3CA4E59D344299.cache.html:8248
> com_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_
> $onResponseReceived__Lcom_google_gwt_user_client_rpc_impl_RequestCallbackAdapter_2Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2
> ([object Object],[object Object])@http://localhost:8888/
> proyecto.gen.Modulo1/57D7D7A778C1FDC77F3CA4E59D344299.cache.html:3519
> com_google_gwt_http_client_Request_
> $fireOnResponseReceivedImpl__Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2
> ([object Object],[object Object])@http://localhost:8888/
> proyecto.gen.Modulo1/57D7D7A778C1FDC77F3CA4E59D344299.cache.html:458
> com_google_gwt_http_client_Request_fireOnResponseReceived__Lcom_google_gwt_http_client_RequestCallback_2
> ([object Object])@http://localhost:8888/
> proyecto.gen.Modulo1/57D7D7A778C1FDC77F3CA4E59D344299.cache.html:472
> ([object Event])@http://localhost:8888/
> proyecto.gen.Modulo1/57D7D7A778C1FDC77F3CA4E59D344299.cache.html:732
>
> Does anyone have an idea of what is the problem about?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to