Login Register

swf

SWF Communication in Dijit.Dialog

I am using FABridge for FLEX/AJAX Communication. It works fine in both IE and FF and for layout I am using contentpane. But when I open dijit.dialog which embeds swf file, I try to communicate flash file using FABridge, but its not working(Only in IE).

JavaScript will be called when user clicks on ADD Button in the Popup
function AddItem(){
try{

var flexApp = FABridge.AddSpecCategoryApp.root();
}
catch (e) {
alert("flash Bridge error: " + e.name + " " + e.message );
}
}

Code in Popup for embeding SWF:

It would be great if I get the solution ASAP.

Flash Issue in dijit.dialog

I am using FABridge for FLEX/AJAX Communication. It works fine in both IE and FF and for layout I am using contentpane. But when I open dijit.dialog which embeds swf file, I try to communicate flash file using FABridge, but its not working(Only in IE).

JavaScript will be called when user clicks on ADD Button in the Popup
function AddItem(){
try{

var flexApp = FABridge.AddSpecCategoryApp.root();
}
catch (e) {
alert("flash Bridge error: " + e.name + " " + e.message );
}
}

Code in Popup for embeding SWF:

Flash/Flex swf calling a javascript function

I am trying to call a javascript function from a swf created by Flex builder2. The flash swf was added to an iframe and the swf runs however the call to the javascript function does not work. I need to pass a pdf url to the javascript function then open a new tab to display the pdf. The goal is to display multiple pdf's each in there own tab from a selection made inside the swf. Is there another way to include a .swf. Is there an example of alternatives to adding a flash container? Is iframe the correct tag?

Syndicate content