RE: [flexcoders] Flex external desktop application communication

2005-07-07 Thread Abdul Qabiz
Actually using socket loads of things can be done. People talk about
Flex and MS Excel communication, someone can write some VBA code(using
WinSock) in excel user form and my flex apps can communicate with Excel
using XMLSocket.

Same can happen for any application...


-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Darron J. Schall
Sent: Wednesday, July 06, 2005 5:05 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex  external desktop application
communication


 I know Flex excels at communicating with server-side data sources.
 Is there any way for a flex app to communicate with a desktop 
 application installed on the same machine as where the app is being 
 viewed (in a controlled kiosk environment for e.g.)


Look into using the XMLSocket class.  You can write a desktop 
application that opens up a socket connection on a specific port, and 
then have the Flex app try connecting on the same port.

See XMLSocket here: 
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/commo
n/html/wwhelp.htm?context=Flex_Documentationfile=1919.htm

.. and where the host would be localhost or 127.0.0.1.

-d



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



 




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




Re: [flexcoders] Flex external desktop application communication

2005-07-07 Thread Scott Barnes
That's for sure, as i can just see the Director of Finance @ my work
drool at the ability to transmit data from FLEX to his annoying Excel
spreedsheet(s) and vice versa.

Never thought it was possible, so i'm very keen to see how.

On 7/7/05, Alistair McLeod [EMAIL PROTECTED] wrote:
  
  
 
 Hi Ted, 
 
   
 
 I'm sure everyone on this list is interested in seeing Flex implementations,
 so please do let us know when you've got something to show us. 
 
   
 
 Cheers, 
 
   
 
 Ali 
 
   
  
 
 -- 
 
 Alistair McLeod 
 
 Development Director 
 
 iteration::two 
 
   
 
 [EMAIL PROTECTED] 
 
 Office: +44 (0)131 338 6108 
 
   
 
 This e-mail and any associated attachments transmitted with it may contain
 confidential information and must not be copied, or disclosed, or used by
 anyone other than the intended recipient(s). If you are not the intended
 recipient(s) please destroy this e-mail, and any copies of it, immediately. 
 
   
 
 Please also note that while software systems have been used to try to ensure
 that this e-mail has been swept for viruses, iteration::two do not accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried out
 before any attachments are opened. 
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Theodore E Patrick
  Sent: 06 July 2005 16:50
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Flex  external desktop application communication
 
   
 
 Abdul, 
 
   
 
 I have not been busier. Flex/Flash application use is growing big time. 
 
   
 
 I will be very interested to see Flexcoder reaction to our new product. If
 noone objects(?),  I would like love to announce the product Beta on
 Flexcoders. 
 
   
 
 I am not sure what the Flexcoder list policy is regarding product/beta
 announcements? 
 
   
 
 More to come! 
 
   
 
 Ted ;) 
 
   
  
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Abdul Qabiz
  Sent: Wednesday, July 06, 2005 11:27 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Flex  external desktop application communication
 
   
 
 Yeah XMLSocket is always a good option. 
 
   
 
 Ted, looks like you are doing kick-ass stuff ;) 
 
   
 
 -abdul 
 
   
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Theodore E Patrick
  Sent: Wednesday, July 06, 2005 8:52 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Flex  external desktop application communication
 
 Actually I am working on one right now for my new company. I am using
 XMLSocket to connect to a locally running server combined with data pulled
 from remote webservices. It is very easy to integrate just about any feature
 you need as the local server can provide file system access and provides
 seamless read/write into the application. 
 
   
 
 FLEXSWF  HTTP  LocalServer 
 
 FLEXSWF  XMLSocket  LocalServer 
 
 FLEXSWF  WS  RemoteServer 
 
   
 
 I shipped a custom XMLSocket server last month for a Kiosk installation for
 Flash integration. The server provided media conversion for SWF display,
 PNG/JPG/GIF/AnimatedGIF/WMA/RM all running through a Flash UI. Additionally
 we integrated with an MSR (CC Reader) on the IBM AnyPlace Kiosk which pushed
 the CC value into Flash as an event. 
 
   
 
 The other option is diving into Central. Using FileReference and
 FileReferenceList, you can read, write, upload download files as needed. 
 
   
 
 All are good options but it depends on what you need. Having been down the
 kiosk path as recently as last week, using a custom XMLSocket/HTTP server is
 a very solid solution although I think I stand alone in this effort. 
 
   
 
 Actually if all goes well my new company will have a public beta of a FlexUI
  Custom Server for download within a weeks time. :) 
 
   
 
 Ted ;) 
 
   
  
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of superabe
  Sent: Tuesday, July 05, 2005 6:48 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex  external desktop application communication 
 
   
  
 
 Hello list, 
  
 
   
  
 
 I know Flex excels at communicating with server-side data sources. 
  
 
 Is there any way for a flex app to communicate with a desktop application
 installed on the same machine as where the app is being viewed (in a
 controlled kiosk environment for e.g.) 
  
 
   
  
 
 TIA, 
  
 
   
  
 
 superabe 
 
 
  
  --
  Flexcoders Mailing List
  FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
  
  --
  Flexcoders Mailing List
  FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
 http://www.mail-archive.com/flexcoders

RE: [flexcoders] Flex external desktop application communication

2005-07-07 Thread Abdul Qabiz
 Never thought it was possible, so i'm very keen to see how.

Many ways :), some are...

- LocalConnection
- XMLSocket


I wrote a Flash application in past, which used to communicate with MS
Outlook and MS Excel. It was kind of experiment after someone on
flashcoders asked about it..

If you are working for intranet applications, these things(custom
ActiveX, standalone apps etc) are possible and easy..


BTW! Looking for Ted's experiment and his python socket server :)

-abdul


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Scott Barnes
Sent: Thursday, July 07, 2005 3:37 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex  external desktop application
communication

That's for sure, as i can just see the Director of Finance @ my work
drool at the ability to transmit data from FLEX to his annoying Excel
spreedsheet(s) and vice versa.

Never thought it was possible, so i'm very keen to see how.

On 7/7/05, Alistair McLeod [EMAIL PROTECTED] wrote:
  
  
 
 Hi Ted, 
 
   
 
 I'm sure everyone on this list is interested in seeing Flex
implementations,
 so please do let us know when you've got something to show us. 
 
   
 
 Cheers, 
 
   
 
 Ali 
 
   
  
 
 -- 
 
 Alistair McLeod 
 
 Development Director 
 
 iteration::two 
 
   
 
 [EMAIL PROTECTED] 
 
 Office: +44 (0)131 338 6108 
 
   
 
 This e-mail and any associated attachments transmitted with it may
contain
 confidential information and must not be copied, or disclosed, or used
by
 anyone other than the intended recipient(s). If you are not the
intended
 recipient(s) please destroy this e-mail, and any copies of it,
immediately. 
 
   
 
 Please also note that while software systems have been used to try to
ensure
 that this e-mail has been swept for viruses, iteration::two do not
accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried
out
 before any attachments are opened. 
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Theodore E Patrick
  Sent: 06 July 2005 16:50
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Flex  external desktop application
communication
 
   
 
 Abdul, 
 
   
 
 I have not been busier. Flex/Flash application use is growing big
time. 
 
   
 
 I will be very interested to see Flexcoder reaction to our new
product. If
 noone objects(?),  I would like love to announce the product Beta on
 Flexcoders. 
 
   
 
 I am not sure what the Flexcoder list policy is regarding product/beta
 announcements? 
 
   
 
 More to come! 
 
   
 
 Ted ;) 
 
   
  
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Abdul Qabiz
  Sent: Wednesday, July 06, 2005 11:27 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Flex  external desktop application
communication
 
   
 
 Yeah XMLSocket is always a good option. 
 
   
 
 Ted, looks like you are doing kick-ass stuff ;) 
 
   
 
 -abdul 
 
   
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Theodore E Patrick
  Sent: Wednesday, July 06, 2005 8:52 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Flex  external desktop application
communication
 
 Actually I am working on one right now for my new company. I am using
 XMLSocket to connect to a locally running server combined with data
pulled
 from remote webservices. It is very easy to integrate just about any
feature
 you need as the local server can provide file system access and
provides
 seamless read/write into the application. 
 
   
 
 FLEXSWF  HTTP  LocalServer 
 
 FLEXSWF  XMLSocket  LocalServer 
 
 FLEXSWF  WS  RemoteServer 
 
   
 
 I shipped a custom XMLSocket server last month for a Kiosk
installation for
 Flash integration. The server provided media conversion for SWF
display,
 PNG/JPG/GIF/AnimatedGIF/WMA/RM all running through a Flash UI.
Additionally
 we integrated with an MSR (CC Reader) on the IBM AnyPlace Kiosk which
pushed
 the CC value into Flash as an event. 
 
   
 
 The other option is diving into Central. Using FileReference and
 FileReferenceList, you can read, write, upload download files as
needed. 
 
   
 
 All are good options but it depends on what you need. Having been down
the
 kiosk path as recently as last week, using a custom XMLSocket/HTTP
server is
 a very solid solution although I think I stand alone in this effort. 
 
   
 
 Actually if all goes well my new company will have a public beta of a
FlexUI
  Custom Server for download within a weeks time. :) 
 
   
 
 Ted ;) 
 
   
  
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of superabe
  Sent: Tuesday, July 05, 2005 6:48 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex  external desktop

RE: [flexcoders] Flex external desktop application communication

2005-07-07 Thread Theodore E Patrick
The nice aspect of a local server (HTTP/XMLSocket) for integration is that
you can interact with Flex applications in the browser cleanly within the
security sandbox of the player. So long as the crossdomain.xml files are in
place and valid, you can have Flex integrate with a local server without
issue from a public website or intranet.

FlexUI  mx:Loader  Local HTTP Server  Local System

FlexUI  XMLSocket  Local XMLSocket Server  Local System

In our case, we are licensing, installing, and configuring software via a
Flex UI through a desktop Service. Within Flash, FlexBuilder,
Eclipse(Zorn), Browsers, and Standalone Players, we can license, install,
and configure software to the local file system securely. All content is
distributed in a signed format that can be tested for authenticity within
the Service before installation occurs.

We shipped Beta 1 of the Service internally yesterday on WIN (OSX soon).
We are about a week from announcing and the public beta will proceed
afterwards.

I will make sure to push the announcement onto Flexcoders a day in advance.

There is nothing like a great example.

Ted ;)

 
  Never thought it was possible, so i'm very keen to see how.
 
 Many ways :), some are...
 
 - LocalConnection
 - XMLSocket
 
 
 I wrote a Flash application in past, which used to communicate with MS
 Outlook and MS Excel. It was kind of experiment after someone on
 flashcoders asked about it..
 
 If you are working for intranet applications, these things(custom
 ActiveX, standalone apps etc) are possible and easy..
 
 
 BTW! Looking for Ted's experiment and his python socket server :)
 
 -abdul 




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




RE: [flexcoders] Flex external desktop application communication

2005-07-06 Thread Abdul Qabiz





Yes it can. I have answered similar questions in past, so 
you can also search archives.


A straight forward way could be communication using 
LocalConnection API. Embed a flash movie in desktop application, now your flex 
app can communicate with that flash movie using LocalConnection. 



 

Flex App ---LocalConnection-- 
Embedded Flash application ---FSCommand Desktop 
Application


In this case, you will be required to write a desktop 
application that embeds a flash movie. And also write the necessary 
LocalConnection code... As JD said, there is no "here you go" method, above is 
just a technique...


-abdul





From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of superabeSent: 
Wednesday, July 06, 2005 4:18 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex  external 
desktop application communication

Hello list,

I know Flex excels at communicating with 
server-side data sources.
Is there any way for a flex app to communicate with 
a desktop application installed on the same machine as where the app is being 
viewed (in a controlled kioskenvironment for e.g.)

TIA,

superabe--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex external desktop application communication

2005-07-06 Thread Philippe Maegerman





What about embedding the Flex application in Macromedia 
Central?


Philippe Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy 
SprattSent: mercredi 6 juillet 2005 3:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex  
external desktop application communication
Further, A Flex client app can communicate up to its host 
Browser, inseveral ways. So, if you can put an activeX control, or a 
signedapplet, or some other sandbox breaker into your html host page, you 
cancommunicate with it fairly easily.Tracy-Original 
Message-From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] OnBehalf Of John DowdellSent: 
Tuesday, July 05, 2005 8:01 PMTo: flexcoders@yahoogroups.comSubject: Re: 
[flexcoders] Flex  external desktop 
applicationcommunicationsuperabe wrote: I know Flex excels 
at communicating with server-side data sources. Is there any way for a 
flex app to communicate with a desktopapplication installed on the same 
machine as where the app is beingviewed (in a controlled kiosk environment 
for e.g.)Key concept: You may develop a SWF in any of several ways, but 
this fileruns within the Macromedia Flash Player, usually (but not 
necessarily) in a browser.So this becomes: Can plugins in browsers 
invoke executable code on the desktop? The answer to this is "Not usually, 
because of the severe security risks this implies" -- document browsers are 
designed to promiscuously visit site after site after site, so there is 
great risk in letting things on your hard drive invisibly execute.I 
don't know what type of communication you're seeking -- data 
exchange,switch of focus, one-way web service -- there could be ways to 
achieve the goal, depending on just what that goal was.Sorry I don't 
have a useful "here ya go!" answer, but the above is the background towards 
finding it.jd-- John Dowdell . Macromedia 
Developer Support . San Francisco CA USAWeblog: http://www.macromedia.com/go/blog_jdAggregator: 
http://www.macromedia.com/go/weblogsTechnotes: 
http://www.macromedia.com/support/Spam 
killed my private email -- public record is best, 
thanks.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups 
Links--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


Re: [flexcoders] Flex external desktop application communication

2005-07-06 Thread JesterXL





What kind of app do you want to talk to on the 
machine?

- Original Message - 
From: superabe 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, July 05, 2005 6:48 PM
Subject: [flexcoders] Flex  external desktop application 
communication

Hello list,

I know Flex excels at communicating with 
server-side data sources.
Is there any way for a flex app to communicate with 
a desktop application installed on the same machine as where the app is being 
viewed (in a controlled kioskenvironment for e.g.)

TIA,

superabe--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   






  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Flex external desktop application communication

2005-07-06 Thread superabe





Thanks for all the replies.

The app in question isa desktop app that 
serves up map images.
Central is not an option because the Flex appp 
needs to have its own branded UI.

The local connectionapproach is probably most 
suitedto this case.

superabe


  - Original Message - 
  From: 
  JesterXL 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, July 05, 2005 7:50 
PM
  Subject: Re: [flexcoders] Flex  
  external desktop application communication
  
  What kind of app do you want to talk to on the 
  machine?
  
  - Original Message - 
  From: superabe 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, July 05, 2005 6:48 PM
  Subject: [flexcoders] Flex  external desktop application 
  communication
  
  Hello list,
  
  I know Flex excels at communicating with 
  server-side data sources.
  Is there any way for a flex app to communicate 
  with a desktop application installed on the same machine as where the app is 
  being viewed (in a controlled kioskenvironment for e.g.)
  
  TIA,
  
  superabe--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  --Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  Computer 
software testing 
  Macromedia 
flex 
  Development 


  Software 
developer 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   






  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Flex external desktop application communication

2005-07-06 Thread Darron J. Schall
superabe wrote:

 The app in question is a desktop app that serves up map images.
 Central is not an option because the Flex appp needs to have its own 
 branded UI.
  
 The local connection approach is probably most suited to this case.
  

No one has mentioned XMLSocket yet.  Embedding the Active-X and using 
LocalConnection is a lot of work to go through.  It'd be much easier to 
write a simple Socket server to run locally on some port (you can do 
this in like 20 lines of C# / Java code, prolly 4 lines of python 
code).  Then, use the XMLSocket class in flash to connect to localhost 
on the port.

Then, via the xml socket connection, you can send xml packet from the 
.swf to the server running on the local computer and have that server 
perform desktop-like actions based on what the message was.

-d




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




RE: [flexcoders] Flex external desktop application communication

2005-07-06 Thread Theodore E Patrick










Actually I am working on one right now for
my new company. I am using XMLSocket to connect to a locally running server
combined with data pulled from remote webservices. It is very easy to integrate
just about any feature you need as the local server can provide file system
access and provides seamless read/write into the application.



FLEXSWF  HTTP  LocalServer

FLEXSWF  XMLSocket 
LocalServer

FLEXSWF  WS  RemoteServer



I shipped a custom XMLSocket server last
month for a Kiosk installation for Flash integration. The server provided media
conversion for SWF display, PNG/JPG/GIF/AnimatedGIF/WMA/RM all running through
a Flash UI. Additionally we integrated with an MSR (CC Reader) on the IBM
AnyPlace Kiosk which pushed the CC value into Flash as an event.



The other option is diving into Central.
Using FileReference and FileReferenceList, you can read, write, upload download
files as needed. 



All are good options but it depends on
what you need. Having been down the kiosk path as recently as last week, using
a custom XMLSocket/HTTP server is a very solid solution although I think I
stand alone in this effort.



Actually if all goes well my new company
will have a public beta of a FlexUI  Custom Server for download within a
weeks time. :)



Ted ;)













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe
Sent: Tuesday, July 05, 2005 6:48
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex  external
desktop application communication







Hello list,











I know Flex excels at communicating with server-side data
sources.





Is there any way for a flex app to communicate with a
desktop application installed on the same machine as where the app is being
viewed (in a controlled kioskenvironment for e.g.)











TIA,











superabe





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex external desktop application communication

2005-07-06 Thread Abdul Qabiz





Yeah XMLSocket is always a good option.

Ted, looks like you aredoing kick-ass stuff 
;)

-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Theodore E 
PatrickSent: Wednesday, July 06, 2005 8:52 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex  
external desktop application communication


Actually I am working 
on one right now for my new company. I am using XMLSocket to connect to a 
locally running server combined with data pulled from remote webservices. It is 
very easy to integrate just about any feature you need as the local server can 
provide file system access and provides seamless read/write into the 
application.

FLEXSWF  HTTP 
 LocalServer
FLEXSWF  
XMLSocket  LocalServer
FLEXSWF  WS 
 RemoteServer

I shipped a custom 
XMLSocket server last month for a Kiosk installation for Flash integration. The 
server provided media conversion for SWF display, PNG/JPG/GIF/AnimatedGIF/WMA/RM 
all running through a Flash UI. Additionally we integrated with an MSR (CC 
Reader) on the IBM AnyPlace Kiosk which pushed the CC value into Flash as an 
event.

The other option is 
diving into Central. Using FileReference and FileReferenceList, you can read, 
write, upload download files as needed. 

All are good options 
but it depends on what you need. Having been down the kiosk path as recently as 
last week, using a custom XMLSocket/HTTP server is a very solid solution 
although I think I stand alone in this effort.

Actually if all goes 
well my new company will have a public beta of a FlexUI  Custom Server for 
download within a weeks time. :)

Ted 
;)






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of superabeSent: Tuesday, July 05, 2005 6:48 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex  external 
desktop application communication


Hello 
list,



I know Flex excels at communicating 
with server-side data sources.

Is there any way for a flex app to 
communicate with a desktop application installed on the same machine as where 
the app is being viewed (in a controlled kioskenvironment for 
e.g.)



TIA,



superabe
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex external desktop application communication

2005-07-06 Thread Theodore E Patrick










Abdul, 



I have not been busier. Flex/Flash application
use is growing big time. 



I will be very interested to see Flexcoder
reaction to our new product. If noone objects(?), I would like love to
announce the product Beta on Flexcoders. 



I am not sure what the Flexcoder list
policy is regarding product/beta announcements?



More to come!



Ted ;)













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz
Sent: Wednesday, July 06, 2005
11:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
 external desktop application communication





Yeah XMLSocket is always a good option.



Ted, looks like you aredoing
kick-ass stuff ;)



-abdul









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Theodore E Patrick
Sent: Wednesday, July 06, 2005
8:52 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
 external desktop application communication

Actually I am working on one right now for
my new company. I am using XMLSocket to connect to a locally running server
combined with data pulled from remote webservices. It is very easy to integrate
just about any feature you need as the local server can provide file system
access and provides seamless read/write into the application.



FLEXSWF  HTTP  LocalServer

FLEXSWF  XMLSocket 
LocalServer

FLEXSWF  WS  RemoteServer



I shipped a custom XMLSocket server last
month for a Kiosk installation for Flash integration. The server provided media
conversion for SWF display, PNG/JPG/GIF/AnimatedGIF/WMA/RM all running through
a Flash UI. Additionally we integrated with an MSR (CC Reader) on the IBM
AnyPlace Kiosk which pushed the CC value into Flash as an event.



The other option is diving into Central.
Using FileReference and FileReferenceList, you can read, write, upload download
files as needed. 



All are good options but it depends on
what you need. Having been down the kiosk path as recently as last week, using
a custom XMLSocket/HTTP server is a very solid solution although I think I
stand alone in this effort.



Actually if all goes well my new company
will have a public beta of a FlexUI  Custom Server for download within a
weeks time. :)



Ted ;)













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe
Sent: Tuesday, July 05, 2005 6:48
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 
external desktop application communication







Hello list,











I know Flex excels at communicating with server-side data
sources.





Is there any way for a flex app to communicate with a
desktop application installed on the same machine as where the app is being
viewed (in a controlled kioskenvironment for e.g.)











TIA,











superabe





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   






  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex external desktop application communication

2005-07-06 Thread Tracy Spratt










It sounds seriously cool, and I, for one,
will be upset if you fail to post it!

Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Theodore E Patrick
Sent: Wednesday, July 06, 2005
11:50 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
 external desktop application communication





Abdul, 



I have not been busier. Flex/Flash
application use is growing big time. 



I will be very interested to see Flexcoder
reaction to our new product. If noone objects(?), I would like love to
announce the product Beta on Flexcoders. 



I am not sure what the Flexcoder list
policy is regarding product/beta announcements?



More to come!



Ted ;)













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz
Sent: Wednesday, July 06, 2005
11:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
 external desktop application communication





Yeah XMLSocket is always a good option.



Ted, looks like you aredoing
kick-ass stuff ;)



-abdul









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Theodore E Patrick
Sent: Wednesday, July 06, 2005
8:52 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
 external desktop application communication

Actually I am working on one right now for
my new company. I am using XMLSocket to connect to a locally running server
combined with data pulled from remote webservices. It is very easy to integrate
just about any feature you need as the local server can provide file system
access and provides seamless read/write into the application.



FLEXSWF  HTTP  LocalServer

FLEXSWF  XMLSocket 
LocalServer

FLEXSWF  WS  RemoteServer



I shipped a custom XMLSocket server last
month for a Kiosk installation for Flash integration. The server provided media
conversion for SWF display, PNG/JPG/GIF/AnimatedGIF/WMA/RM all running through
a Flash UI. Additionally we integrated with an MSR (CC Reader) on the IBM
AnyPlace Kiosk which pushed the CC value into Flash as an event.



The other option is diving into Central.
Using FileReference and FileReferenceList, you can read, write, upload download
files as needed. 



All are good options but it depends on
what you need. Having been down the kiosk path as recently as last week, using
a custom XMLSocket/HTTP server is a very solid solution although I think I
stand alone in this effort.



Actually if all goes well my new company
will have a public beta of a FlexUI  Custom Server for download within a
weeks time. :)



Ted ;)













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe
Sent: Tuesday, July 05, 2005 6:48
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 
external desktop application communication







Hello list,











I know Flex excels at communicating with server-side data
sources.





Is there any way for a flex app to communicate with a
desktop application installed on the same machine as where the app is being
viewed (in a controlled kioskenvironment for e.g.)











TIA,











superabe





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









SPONSORED
LINKS 




 
  
  Computer
  software testing 
  
  
  Macromedia
  flex 
  
  
  Development
  
  
 
 
  
  Software
  developer 
  
  
  
  
  
  
  
 






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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] Flex external desktop application communication

2005-07-06 Thread Darron J. Schall

 I know Flex excels at communicating with server-side data sources.
 Is there any way for a flex app to communicate with a desktop 
 application installed on the same machine as where the app is being 
 viewed (in a controlled kiosk environment for e.g.)


Look into using the XMLSocket class.  You can write a desktop 
application that opens up a socket connection on a specific port, and 
then have the Flex app try connecting on the same port.

See XMLSocket here: 
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=1919.htm

.. and where the host would be localhost or 127.0.0.1.

-d



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




[flexcoders] Flex external desktop application communication

2005-07-05 Thread superabe





Hello list,

I know Flex excels at communicating with 
server-side data sources.
Is there any way for a flex app to communicate with 
a desktop application installed on the same machine as where the app is being 
viewed (in a controlled kioskenvironment for e.g.)

TIA,

superabe


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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Flex external desktop application communication

2005-07-05 Thread John Dowdell
superabe wrote:
 I know Flex excels at communicating with server-side data sources.
 Is there any way for a flex app to communicate with a desktop application 
 installed on the same machine as where the app is being viewed (in a 
 controlled kiosk environment for e.g.)

Key concept: You may develop a SWF in any of several ways, but this file 
runs within the Macromedia Flash Player, usually (but not necessarily) 
in a browser.

So this becomes: Can plugins in browsers invoke executable code on the 
desktop? The answer to this is Not usually, because of the severe 
security risks this implies -- document browsers are designed to 
promiscuously visit site after site after site, so there is great risk 
in letting things on your hard drive invisibly execute.

I don't know what type of communication you're seeking -- data exchange, 
switch of focus, one-way web service -- there could be ways to achieve 
the goal, depending on just what that goal was.

Sorry I don't have a useful here ya go! answer, but the above is the 
background towards finding it.

jd




-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


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




RE: [flexcoders] Flex external desktop application communication

2005-07-05 Thread Tracy Spratt
Further, A Flex client app can communicate up to its host Browser, in
several ways.  So, if you can put an activeX control, or a signed
applet, or some other sandbox breaker into your html host page, you can
communicate with it fairly easily.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of John Dowdell
Sent: Tuesday, July 05, 2005 8:01 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex  external desktop application
communication

superabe wrote:
 I know Flex excels at communicating with server-side data sources.
 Is there any way for a flex app to communicate with a desktop
application installed on the same machine as where the app is being
viewed (in a controlled kiosk environment for e.g.)

Key concept: You may develop a SWF in any of several ways, but this file

runs within the Macromedia Flash Player, usually (but not necessarily) 
in a browser.

So this becomes: Can plugins in browsers invoke executable code on the 
desktop? The answer to this is Not usually, because of the severe 
security risks this implies -- document browsers are designed to 
promiscuously visit site after site after site, so there is great risk 
in letting things on your hard drive invisibly execute.

I don't know what type of communication you're seeking -- data exchange,

switch of focus, one-way web service -- there could be ways to achieve 
the goal, depending on just what that goal was.

Sorry I don't have a useful here ya go! answer, but the above is the 
background towards finding it.

jd




-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


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



 






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