Use FABridge to comunicate between flex and javascript(HTML) On 11/26/09, surendra chowdary <[email protected]> wrote: > > Hi Amit, > > > Thanks for the reply... > > > Here i am not in the same html which is generated by the main flex > application, > I am moving to outside JSP page from there i need to call Action Script > Function. > > > with Regards, > surendra. > > > On Wed, Nov 25, 2009 at 11:43 PM, Amit Panwar <[email protected]> wrote: > >> try this : >> http://www.switchonthecode.com/tutorials/flex-javascript-tutorial-simple-interaction >> >> On Wed, Nov 25, 2009 at 8:16 PM, surendra >> <[email protected]> wrote: >> > 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 [email protected]. >> > To unsubscribe from this group, send email to >> [email protected]<flex_india%[email protected]> >> . >> > For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > >> > >> > >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<flex_india%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> >> >> >> > > > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. >
-- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

