开发者

Passing javascript object to flex

I have a very strange issue. My web application pass a javascript object to flex application using addCallback function. when the flex application is in modal dialog in safari browser, the object in the flex application is null and when i open the flex application jus开发者_如何学JAVAt in a new window, the object is passed correctly. but, I need the showmodaldialog to show the flex application. any ideas???

the flex code:

ExternalInterface.addCallback( "handleEvent", handleEvent );



override public function handleEvent( event:Object ):Object
    {
        Alert.show(String(event)); .....


Might be a sync problem as Alert.show stops the app, maybe some other javascript call came during the alert.show ? Need more code :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜