I want to communicate with my flash widgets which are actually flex applications. It is working in native java script here is the sample js code
function getFlashMovie(movieName) {
var isIE = navigator.appName.indexOf("Microsoft") != -1;
return (isIE) ? window[movieName] : document[movieName];
}
function CloseModuleEvent(swfId) {
try{
//Calling the Flash Function
getFlashMovie(swfId).ModuleCloseEventHander();
}catch(err){
return false;
}
}
Now I am in the process of migrating my UI to smart gwt, please help how can do the same thing in smart gwt domains. I don't want browsers issue as I observed, when embedding native javascript with gwt enabled application starts behaving differently on different browsers.
Can Flashlet do the job????????
function getFlashMovie(movieName) {
var isIE = navigator.appName.indexOf("Microsoft") != -1;
return (isIE) ? window[movieName] : document[movieName];
}
function CloseModuleEvent(swfId) {
try{
//Calling the Flash Function
getFlashMovie(swfId).ModuleCloseEventHander();
}catch(err){
return false;
}
}
Now I am in the process of migrating my UI to smart gwt, please help how can do the same thing in smart gwt domains. I don't want browsers issue as I observed, when embedding native javascript with gwt enabled application starts behaving differently on different browsers.
Can Flashlet do the job????????