I'm using IE 6.0SP1 and FireFox 1.06.
I don't understand why it's not working, all the samples I see on the
Internet are like my program.

-----Original Message-----
From: Manish Jethani [mailto:[EMAIL PROTECTED]
Sent: vendredi, 7. octobre 2005 20:39
To: flexcoders@yahoogroups.com
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 --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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/
 




Reply via email to