hi Girish,
I've tried your code, but i have not got any result.
Can you provide a sample code in air ? and where to write the
javascript function.

On Nov 6, 6:22 pm, "Flexian_NGL ,@Bangalore" <[EMAIL PROTECTED]>
wrote:
> Hi ,
>
> In flex write as
>
> public function invokeNotepad():void
>  {
>             ExternalInterface.call("RunNotePad");
>  }
>
> calling to an javascript function
>
> <script language="JavaScript" type="text/javascript">
>          MyObject = new ActiveXObject( "WScript.Shell" )
>          function RunNotePad()
>          {
>             MyObject.Run("notepad.exe") ;
>         }
>
>     </script>
>
> Regards
>
> Girish

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to