Hi ,
Try this
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
Dhana
On Thu, Oct 8, 2009 at 12:20 PM, Ansari <[email protected]> wrote:
>
> Hi..
>
> I am new to Flex.. I have a requirements in which i need to call
> an .EXE file from flex. For example i have a button in my screen. When
> i click on this button i need the exe file to execute. Can one tell
> whether it is possible to do this in FLEX. If possible how to do it..
> Please help me with some code.
>
> Thanks in advance.
>
> Regards
> Ansari
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---