Another possiblity, I forgot to mention:
 
XMLSocket in Macromedia Flash Player 7, if you are making Flex 1.5 application.
 
Flex App (in browser) <-------- XMLSocket--------> Socket Server (in OS App) <-------------> Other apps
 
 
-abdul


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz
Sent: Tuesday, January 10, 2006 8:58 PM
To: [email protected]
Subject: RE: [flexcoders] Control devices from Flex

Hi,
 
I am not sure about licensing in Flex 1.5, where you can not embed Flex apps in windows-application. However, I tell how I have done something in past in my previous company in some similar projects using Flash:
 
* Embed Flash application in windows-application (VB/C++/C#) and do things with FSCommand and activeX's SetVariable/GetVariable() methods.  Now with Flash Player 8, you can use ExternalInterface, which is very clean way of doing things. Windows Application can have methods that control different things, and you execute those methods from Flash app...
 
* Embed Flash App in a .HTA (windows only) file, in HTA you can do more things and I guess invoke some OS level things using WSC/WSH (Windows Scripting Host)...
 
 
Other solution, I can think of:
 
Embed a small Flash application in a windows-application. Your Flex app is hosted in HTML page and shown to user in kiosk mode...Flex communicates with flash application using LocalConnection, in turn Flash app executes different methods in windows-application....
 
Flex App (in HTML) <----LocalConnection---> Flash App(embedded in Windows-App)<---------ExternalInterface or FSCommand--> Windows-App  <-----------> OS
 
I think,  you won't be required to have HTTP server in this case. I am wondering, if Robert Hall is on this list, he can surely suggest better ways...
 
 
Search Google/any-other-search-engine to know more about HTA or WSH...
 
 
-abdul


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Paoletta
Sent: Tuesday, January 10, 2006 8:36 PM
To: [email protected]
Subject: [flexcoders] Control devices from Flex

Hi,

We're currently evaluating Flex for an ATM software platform. One of our requirements is that we need to control some of the devices of the machine (the machine mailbox, printer, etc). One possibility we've been investigating is to host an HTTP server that would control all the devices. The thing is, how can I call it from a Flex application? The application would be deployed on a central server. Most of the interactions would be with services on the central server, but we need to make calls to the local server to control the devices (print reports, open and close the mailbox, etc).

The other option is to embed the application in an html page with a java applet that would be responsible of interacting with the server or the devices.

Do you know how can we accomplish this?

TIA,
Martin Paoletta

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




Reply via email to