Flash Desktop App with Com Port

Does anyone have any idea how to build a Flash desktop
application for windows that basically provides a nice GUI to
send/recieve very basic data to/from a serial/com port?
Cheers,
Chris :-)

Thanks rritchey,
I'm also looking into running Flash inside VB. Looks like the
easiest solution so far, although I was hoping for something more
simplistic.
http://www.adobe.com/devnet/flashslideshow/
http://www.anim-fx.com/flash-tutorials/insertvb6.html
Other ideas still welcome.
Cheers,
Chris.

Similar Messages

  • Adobe AIR desktop app with an embedded runtime

    Hi,
    Does an Adobe AIR desktop app with an embedded runtime (standalone/portable)  that got published on Windows work on a Mac too?
    Thanks

    No, you need to compile a "bundle" with ADT on each platform. On Windows it creates a directory with an .exe and the AIR runtime. On OS X it creates a .app file.

  • Output Signal From a Desktop Flash application to the COM port

    How do I script to connect /send a signal to the COM port of
    the PC from a Desktop Flash application.
    The Signals can be variables such as "1/2/3/4" . The signals
    will be send on a corresponding click in the flash application. For
    eg: if I click button "A" in the Flash application, it sends a
    signal "1" to the COM Port. If I click the Button"B", it send the
    signal"2" to the COM Port.
    Please advise if it can be done directly or through a Third
    Party software.

    maybe this helps:
    http://www.phidgets.com/downloads.php?example_id=27

  • Configuring socket policy for flex apps(with blocked port 843)?

    We have built several flex-based ecommerce apps for a fortune 500 customer of ours, that for various reasons, we need to use sockets to a different domain and requires a socket policy file, but were having trouble configuring our flex apps for deployment in thier enviornment where they are blocking virtually everything except port 80 . The current documentation in in regards to socket policy files and crossdomain files in a non-standard configuration not using port 843 is not providing any useful help to us.
    Here is the scenario:
    Flex apps are served from domain www.a.com in  to users browsers via http. The apps then make socket connections to domain www.b.com:80 where there are php scripts serving json data to the flex apps via port 80 using http(we use sockets because we need to set and read back http headers). The problem is the flex apps cannot make socket connections to the www.b.com domain without errors like below(unless we setup a socket policy server on port 843 of www.b.com, in which case everything works):
    Warning: Timeout on xmlsocket://www.b.com:80 (at 3 seconds) while waiting for socket policy file.  This should not cause any problems, but see http://www.adobe.com/go/strict_policy_files for an explanation.
    Error: Request for resource at xmlsocket://www.b.com:80 by requestor from http://www.a.com/bin-debug/DownloadManagerFlex.swf is denied due to lack of policy file permissions.
    Error: Request for resource at xmlsocket://www.b.com:80 by requestor from http://www.a.com.us/bin-debug/DownloadManagerFlex.swf is denied due to lack of policy file permissions.
    Since we cannot use port  843 for the socket policy file server, we setup the socket policy server on a different ip in the same domain: spf.b.com:80 (using the sample perl code Adobe provides), and per the docs(cited below), use Security.loadPolicyFile("xmlsocket://spf.b.com:80") before we invoke "socket.connect", to supposedly tell the flash player to check there for the socket policy file. The problem, as you can see from the error log, is that the  loadPolicyFile("xmlsocket://spf.b.com:80") is ignored.
    No matter what we do or how we set things up, we cannot get the flash player to recognize the loadPolicyFile(), it always wants to go to the port were making the socket connection on. It is unclear how to properly configure the flex app, socket policy file and crossdomain file for the above scenario. The docs allude to being able to serve  the socket policy file from a different port 80 in the same domain as the socket connection were trying to make, but were having no luck with that.
    ->Can anyone shed some light on how to make this work or what are we  missing/doing wrong? Also, if we can get this to work, are we  stuck with a 3 second delay because this(very large) customer is blocking port 843?
    As an aside,  the documentation for all this is a bit scattered, unclear and contrdictory:
    One document says:(http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_07.html)
    "This warning usually means one of two things: first, that you need to set up a
                socket policy file server on port 843, which is the first location that Flash
                Player checks by default; or second, that you need to provide more explicit
                guidance to Flash Player from ActionScript by calling loadPolicyFile to indicate the location
                of a socket policy file. When you call loadPolicyFile rather than allowing Flash Player to check
                locations by default, Flash Player will wait as long as necessary for a
                response from a socket policy file server, rather than timing out after 3
                seconds."
    Another document says(http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html):
    "If an ActionScript Security.loadPolicyFile() command exists within               the SWF file, then the Flash Player runtime checks that location. Flash Player checks               the destination of the loadPolicyFile() only after it has checked the               master policy file on port 843 for permission to acknowledge other policy               files. If the developer has not specified a loadPolicyFile() command,               then Flash Player checks the destination port of the connection."

    I found the reason why the Flex application was ignoring the socket policy (crossdomain.XML). I have a policy server that listens to port 843 and submits the policy to the Flex client. My policy was getting ignored by the Flex application and I was getting the sandbox security error you were getting. The solution to this problem isto write a null byte right after the policy server sends the policy. I'm using Apache Mina that is wrtten is Java and the null byte is written as follows:
    public void sessionCreated (IoSession session)
            throws Exception
            session.write(_policy);  -- > policy string
            session.write("\u0000"); --> null byte
             //session.close(true); ---> No need to close the session because it is closed by the Flex client after it receives the null byte.
    Now my Flex application can read and accept the policy from port 843 and I'm not getting more security violations.
    Thanks for your reply,
    Alberto

  • UNICODE AND SECURITY FOR FLASH DESKTOP APPS

    I'm presently in the development phase of some desktop applications using Adobe Flash to develop rich interactive apps that include games published in AIR for PCs. Given that I intend to commercialize these products, I have the following requests which you may be able to help provide answers to:
    - how do I type texts in unicode characters given that my applications will include texts in my local language of yoruba.
    - how best can I integrate security features into my application such that serial numbers or activation keys are required to run them? This is to help ensure that the apps run on per PC basis. This'll also help ensure timed licensing for users.
    - how best can I obfuscate my swf files so that they are not easily decompiled or viewable by users in my program files or even by software which can expose the source codes? From experience, I have some AIR published desktop apps installed on my PC yet the swf files are viewable from the program files on my harddrive.
    - how can I also protect my ActionScript files from being decompiled?

    same problem with me sir , If you find answer kindly let me know and if i find the solution it will be my pleasure to share it with you !
    Freind, I want to make a flash game ,
    but it should not be a web based it is a desktop based application !
    and the most important part of this is its security .
    I want to do the following things
    1)-I can copy this game on others pc  , but it must be expired after 10 days .
    2)-if someone copy it by any unethical way , it must not be opened on his pc a black screen should come
    i have wathced a game like that .
    I am confused how to make it ,it can be achieved by using flash or i have to make a separate desktop
    application on C#.net or java that can hold this game and take care of security issues .
    Thank you very much

  • Problem with Com port

    Hi guys. I have written a driver to communicate with a COM port (FTDI serial adapter).  On the pc from which I'm writing now (windows XP) it works properly, but when I try to use the same driver on another pc (win 7) labview see the port but isn't able to comunicate . I tried also to use a software like Tera Term to see if the com works and trying the echo it works good...so I don't understand where the problem is on this w7 pc... 
    should I install some labview drivers on the w7 pc? I have already installed
    NI run time installer
    NI max
    NI Visa run time

    NI Serial won't help (its for NI serial cards not 3rd party USB-Serial bridges)
    LabVIEW sees the VCP in Win7 but does not communicate: Works on XP: "Something" happens with Echo on from teraterm.
    I'l guess either:
    Wrong serial cable or settings and you are fooling yourself with the tereterm app and are seeing the echo only.  With Echo on any character sent should be doubled.
    Outdated FTDI Driver that does not support Win7.
    Jeff

  • Installing a desktop app with JRE

    Hi
    I have a desktop app and the client is concerned about easy installations, is there a way to bundle the app with the JRE and install both with an installer?
    Any help appreciated.
    Cheers
    Dean

    Depends on specifics; see this list http://www.google.com/search?q=detect+if+java+is+installed

  • I/O error with COM port

    I have a RS485 line going into COM5 of my PC. Using HyperTerminal, I can talk to my serial device. However, there are problems with LabVIEW VISA functions. I can open the connection. I/O errors were given when I try to read or write. Is this because LabVIEW does not support RS485? What can cause the I/O error? Thanks.

    Some tips,
    First off, computer com ports are only RS-232. Make sure you are using the RS-232 port on the
    ADAM-4570. Do you have to configure this port as RS-232 with Advantech software? If the ADAM is
    configured as RS-485, you won't be able to talk to it without an RS-232 to RS-485 converter. Stick
    with RS-232.
    Secondly, make sure you have shut down all other software that is using COM5. Only one application
    can use the port at a time and sometimes other applications don't release the port properly.
    If HyperTerminal can talk to the ADAM, then everything is configured properly for a LabVIEW app. Be
    sure to put a carriage return at the end of the command to the ADAM. HyperTerm does this
    automatically, LabVIEW doesn't. Start with the basi
    c commands you used with HyperTerminal.
    "sy" wrote in message news:[email protected]..
    > Good question. In fact, I think the problem stems from how COM5 is
    > mapped to my PC. As for the second question, I got the same I/O error
    > when using MAX. I believe that there is a conflict between NI
    > software and the software I use to map the RS485 line to COM5.
    >
    > I am using Advantech's ADAM 4570 module to convert a RS485 line to
    > ethernet. The ethernet cable goes into the PC. A software utility is
    > used to map the ethernet connection to COM5. It is conflict between
    > this utility and NI. Any idea on how to resolve the conflict? Thank
    > you.

  • Problem with COM port opening

    I made an application using COM port to dialog with a microcontroleur and i have some troubles with the opening of the port. i developed it under window XP pro and labview 6.1 and i have no problem when i launch my application on an XP PC having labview installed or on a window 98 PC without labview (just the runtime engine). But when i launch it on an XP pc with only the runtime engine, it seems to launch correctly but in fact, there is a problem with the COM port opening. The menu allowing to chose the port number is inactive and has no effect, like if the software wouldn't recognize the material port on the PC. And consequently, nothing happens when the dialog should start.
    Thank tou for your precious help
    Julien LEGRAND
    French Natio
    nal Institute for Sea Reseach

    Is the VISA run-time engine installed? I don't understand why it would work on the win98 machine unless you have an older installation of it there.

  • Communicating with COM port.

    Hi Experts,
    There is a electronic weighing machine and has a COM port ( communication port).  Can we connect to the COM port through ABAP?  I need to read the weight of the measured component to a table control directly from the weighing machine.
    Thanks and regards,
    M.Madhusudan Rao.

    http://java.sun.com/products/javacomm/

  • How do you handle global security settings so everyone on the network can view a desktop app with flash video?

    I have written a desktop application that allows a user to view a flash video presentation.  I would like to put this application on a network drive so that everyone can view the presentation at their leisure.  Is there any way to do this without having each each user enable the location in their global settings?  Basically, if the location is not listed, then the video player I am using fails to play.
    Thank you for you help in advance.

    I figured it out.
    It's under the pop-up window. Select edit locations to select confirm.

  • Flash built app with in-app purchases using Adobe AIR

    I am working on building an app using flash which will run on desktop/ios/android, using adobe air to publish the final content. I am pretty proficient using flash, but not so much in actionscript.
    The idea for the app is one of a library where a user can read a free book (short story really) and then have the option to purchase other stories via in-app purchases.
    Does anyone know how this would work best? Should those short stories be located in separate movie clips within the app and are just locked and invisible until the user makes payment? Then when paid they are made visible for the user to read? Or should be be held somewhere externally? Maybe in PDF form, so when the user purchases then they can view the pdf within the app?
    Or what would people recommend?
    Thank you in advance for any help/advice!

    they can be within your app.
    that's easiest and i don't think anyone would bother de-compiling your app to access the paid content.

  • How to use creative cloud desktop app with proxy

    I currently work at a company where a proxy server is in use, and the desktop CC app doesn't seem to detect it, It returns the no internet connection error. The Retry button doesn't actually retry.

    Webhosting plan included in CC does not include email hosting thus, you can purchase webBasics+ plan of Adobe Webhosting or choose some free email hosting providers to do that.
    Refer to the buying guide for Adobe Web Hosting: http://www.adobe.com/in/products/web-hosting/buying-guide.html

  • Lightswitch Desktop App with Sharepoint 2010 Authentication

    Hi All,
    I am trying trying to create an Desktop Application In Light switch which has a Backed as SharePoint 2010.
    Also i would like to use the Forms authentication and would like to authenticate it with my SharePoint 2010.
    Please let me know if this is feasible.
    if so can you please help me to proceed.
    Joji

    Hi,
    To access SharePoint objects remotely from client side application, SharePoint Client Object Model would be a good choice.
    Accessing SharePoint 2010 Data with the .NET Client Object Model
    http://msdn.microsoft.com/en-us/library/gg277498(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/ee857094(v=office.14).aspx
    To
    work with Forms Based Authentication, you can take a look at this blog from TechNet with code demo provided:
    http://social.technet.microsoft.com/wiki/contents/articles/5961.sharepoint-2010-using-the-client-object-model-with-a-form-based-auth-site-different-way.aspx
    Another link about this for your reference:
    http://www.learningsharepoint.com/2010/07/02/authentication-setup-in-client-object-model-sharepoint-2010/
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • How do I Sync a desktop app with a mobile app when cradled?

    I have a project where I need to sync data between a desktop application and an application on the device when cradled.  Does anyone have a suggestion on where I could find an example?  

    I love BlackBerry technologies but data communication between a BlackBerry and a PC is far from easy (= very tough) and very specific to the BlackBerry world.
    You could do your school project with a Windows Mobile device that does LDAP and SyncML. Those are mainstream standards, very well documented.
    if you want to stick to BlackBerry, on top of this page there is a "DEVELOPERS" link.
    good luck.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

Maybe you are looking for

  • Retenção de Imposto de Renda por mês

    Olá a todos,       Estou tendo dificuldades em configurar retenção de impostos (imposto de renda) esta retenção é acumulativa, quando fazemos uma compra de um mesmo fornecedor se o valor destas compras for superior a 1.499,16 começa a reter imposto d

  • Numbers App

    I would like comments on the Numbers App for Mac, not Ipad or I phone.  I only have a Mac.  I just want a basic program to keep track of expenses and help with budgeting household expenses.

  • Contacts smart list don't work

    Creating smart list doesn't to appear to work properly if at all. Using Notes containing "XZY"  doesn't pull all the contacts/companies that contain XZY...creating only a partial list. Please advise. Christian

  • Parallax responsive design template needed

    I would like to play around with parallax responsive design templates. I would like to find a simple template without all the bells and whistles that come with the major template house's examples of parallax responsive design. Can anyone direct me to

  • Smpatch Problem

    I have a Solaris 10 Sparc system. I had to run an upgrade installation of Solaris 10 to fix some problems that I was having. Now, everything is working great except for Smpatch. When I run smpatch analyze, it displays the correct list of patches. But