Hi ,

I am having Main Application file as Main.mxml after executing this i
will get
index.template.html in the html-template folder.

i have written a xxx.js file which i included in index.template.html
file.
from this Calling Java Script function from Action Script is working
good.

As i included xxx.js in JSP file
when i click on a button in JSP it calls a function callBack() in
xxx.js in that i am calling AS function function using External
interface
as

function getMyApp(appName) {
        if (navigator.appName.indexOf ("Microsoft") !=-1) {
            return window[appName];
        } else {
            return document[appName];
        }
    }

The below function will call from separate JSP window in that we will
not have html object
function callBack(filename, seqnum) {
                //alert("File name is :"+filename+"  "+seqnum);
                getMyApp("Main").callASFunction(seqnum,filename);
        }


But it is not working.
Can u guide me..

with Regards,
surendra.

--

You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to