I found what was the problem, it comes from my HTML <script> tag: it's not type but langage. Sorry for bothering everybody.
-----Original Message----- From: Manish Jethani [mailto:[EMAIL PROTECTED] Sent: vendredi, 7. octobre 2005 20:39 To: [email protected] Subject: Re: [flexcoders] [Flex/Javascript] Javascript function not found when called from Flex On 10/7/05, djok_fb <[EMAIL PROTECTED]> wrote: > 1-Embed the mxml file in a HTML page: > <html> > <head> > <script type="javascript"> > function launchSpellChecker(someText) { > alert(someText); > } > </script> > </head> > <body> [snip] > 2- Write a AS function using getURL: > function doSpellCheck( textToCheck ) { > getURL("javascript:launchSpellChecker('" + textToCheck + > "');void(0);"); > } > 3- Link the function to a button > > The AS function is called but IE tells me "Object not found". > I tried with Firefox (w/ JavaScript debugger) and it tells me: > "launchSpellChecker function not found". I don't see anything obviously wrong. What version of IE are you using? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links *********************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager to [EMAIL PROTECTED] *********************************************************************************** ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

