Adobe Air ServerSocket even works only on XP/Vista/7

I'm having a strange problem with a vent Server I wrote.

I have an Air application written using Flash Builder 4.  It is a simple HTTP server.  It has the purpose to open a server on a specific port and use a web browser (html and swf) files.

When I run the air application on my desktop (windows 7, firefox 4.0b11, ie8, flash builder 4 compiled with flex sck 4.1.0) everything works fine.  If I start the server via the Flash Builder debugger or actually do the full packing and install as a standalone air application then run it using the Air runtime as would any user.  I load the server, punch in the address of any place and the loading of the page and the file requested swf display correctly.  When the server is running on my desktop I tested clients such as Windows XP and Vista with IE8, HTC Android Evo4g phone and the Playstation 3 browser.  Any client tested with the server running on my desktop applications are dealt with properly and pages/FSV load and display correctly.

The problem is when I run the air on another computer application.  When I package it and install on one of my two systems test (Windows XP and Windows Vista) things start to go wobbly.  Air app charges on two test systems, but when a client tries to use their web browser to request a page things are not properly displayed.  The customer can load the HTML fine but the swf that it receives from the server is not displayed.  I can check the log on the State Server and see HTTP GET processing and the sent file.  However, the browser just displays a blank box where the SWF file must be.  With the server running on one of my two test boxes (XP and Vista), the same customers who can connect and view the html code and swf shipped from Server experience this issue.

I think I've eliminated application of browser such as the problem of testing different browsers on different operating systems on each of the test facilities.  As far as I know, the problem is on the side of the application server.  The server uses the SocketServer class to listen to a connection and then writes the HTML headers and content to the socket manually, I don't use any external libraries to write on the socket.

Here is the code to write on the socket when a swf file is requested.

{

var content: ByteArray = new ByteArray();

var stream: FileStream = new FileStream();
Stream.Open (file, FileMode.READ);
stream.readBytes (content);
Stream.Close ();

socket.writeUTFBytes ("HTTP/1.1 200 OK\n");
socket.writeUTFBytes ("Content-Type: application/x-shockwave-flash\r\n");
socket.writeUTFBytes ("Content-Length:" + content.length + "\r\n\r\n");
socket.writeBytes (content);

}

I don't think that the problem is with the writing of decision-making because it works on my desktop but not when the server runs on another.  I wonder if the problem is with a dependence on external system.  Are there external libraries, visual c ++ runtimes, libraries tcp/ip used by Air to meet the demands faced on different systems of exploitation/versions?  I searched the web and navigate adobe live docs for a few hours on this but can't find a solution anywhere.  If we need more details, please let me know.  Any help would be appreciated.

Hi Tim,.

I was going to suggest you do exactly that, having the client to send a message that the load is complete.  I know that's not optimal, but unfortunately there is not a better solution right now. We are aware that this is missing and we are working on a solution for a next version.  You can follow this bug to http://bugs.adobe.com/jira/browse/FP-6

Thank you

Chris

Tags: Adobe AIR

Similar Questions

  • Satellite A130: Fn key not working only not with Vista - only FlashCards

    Hello

    I've been looking around in the forums, but I couldn't find solutions to my problem.

    I have a satellite A130 and I am running a windows VISTA family Basic. I have a problem with my fn functions.
    I can only use flash on the top of my screen cards, just by dragging my mouse upwards on the top of my screen.

    The key works only when I start my computer, at startup, but when the computer is running, there is no other "fn", I could use but my mouse to show my flash cards and use them.

    Is there something else I could do?
    Thank you

    I have same situation, remove the starting windows for the form Flash cards and you have no pictures at the top of the desctop, but keys will work.

  • Audio & CD/DVD drive not working only not with Vista

    I have a laptop HP V6500 Pressario, with Vista Home Basic installed recently. I have two problems with my laptop:

    1 > there is no sound, and I see the error "no audio device is installed" with a red cross on the "speaker" icon.
    2 > drive CD/DVD is not visible in 'my computer '.

    These two problems are persistent, but begin to work from time to time, say once 20 times when I turn on the laptop, I see the CD drive and also audio works, but these work only for about 10 minutes...

    I tried the Dr.Fixit and it did not help and have also installed the latest drivers for my notebook to the hp site:
    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=2093&LC=en&cc=us&DLC=en&sw_lang=&product=3550002

    Any help to solve these problems is much appreciated... Thanks in advance

    Hey riri,.
     
    Try these steps and check the result.
    Step 1: Delete the invalid registry keys
    1. Click Start, type regedit and press to enter. If you are prompted for an administrator password or a confirmation, type the password, or click on allow.
    2. in the navigation pane, find and then click the following registry subkey:
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}
    3. in the right pane, click UpperFilters.
    Note: You may also see an UpperFilters.bak registry entry. You don't have to delete this entry. Click UpperFilters. If you do not see the UpperFilters registry entry, you may still have to delete the LowerFilters registry entry. To do this, go to step 6.
    4. in the Edit menu, click on delete.
    5. When you are prompted to confirm the deletion, click Yes.
    6. in the right pane, click LowerFilters.
    Note: If you do not see the LowerFilters registry entry, unfortunately this content cannot help you further.
    7. on the Edit menu, click on delete.
    8. When you are prompted to confirm the deletion, click Yes.
    9. exit the registry editor.
    10. restart the computer.
     
    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: see How to back up and restore the registry in Windows
    Step 2: Uninstall any software CD/DVD burning.
    1. Click Start, type appwiz.cpl and press to enter.
    2. from the list of programs, select CD/DVD burning software and click on uninstall.
    3. once the uninstall, restart the computer.
     
    Step 3: Install device drivers in a new user account.
    1. open user accounts by clicking the Start button, clicking Control Panel, click user accounts and family safety (or by clicking on user accounts, if you are connected to a network domain), and then clicking user accounts.
    2. click on manage another account.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    3. click on create a new account.

    4. type the name you want to assign to the user account, click an account type, and then click on create an account.
     
    I hope this helps.
     
    Kind regards
    Syed - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.
  • Adobe Flash 10.3 works only with Firefox 17.0.1

    I need to use Adobe Flash 10.3 for some reason, and it was working fine until today, when my Firefox itself upgrade 17.0.1. Now, every time I visit a web site with Flash (YouTube and others) the area where the video is meant to be is blank. Any ideas?

    Permit to solve my problem. Is go to the Add-ons section and found that there were two of them for Flash, 10.x and 11.x. I disabled 11.x and things started working again.

  • Adobe Air does not work after upgrade to El capitan 10.11.2

    All other witih this problem?

    Maybe this discussion on the adobe site has an answer-> https://forums.adobe.com/thread/1874230?start=0&tstart=0

  • Programs work only with windows vista

    I've had nothing but trouble with my new computer and am more convinced, it's because of Vista.  Every program that I buy, which says compatible with vista doesn't work properly or at all.  The most recent is Adobe Photoshop Elements 7.  It worked 'ok' for a short period and now does not start at all.  I uninstalled and reinstalled several times, and I get the same message "not responding".  I bought other programs and had to take them because they would not work with vista.  I also have a lot of programs that I can't use because they are not compatible with vista.  When I bought my computer, I asked for XP and learned from Dell that it came only with Vista... What I want to know is can I get a refund for vista so I can get an operating system that works?  Thank you.

    There may be a problem with the operating system.  Programs you cite have no problems on my computer and I have not heard of them being problems on someone elses.

    XP has not been for sale for a few years.  Any refund is Dell.  What edition of Vista do you have?  You can use the recovery software and restore your computer as long as the plant and start over.

    Colin Barnhorst

  • Age of Mythology Gold Edition works only not with Vista 64

    Ok. Same computer. Different operating systems it works very well. It is a problem of Vista 64. When I start Age of Mythology or Age of Mythology Titans he keeps asking the number of CD 1. This version came on a DVD. Even if the DVD is in the DVD player I am always asked the same question. What is going on? How should I do? Oh! The other operating system, I've tried is 32-bit Windows XP. Yes it is a 64-bit computer.

    For those who are interested,
    I tried all the proposals by Gloria. No worked. There is no update I can find on the Microsoft Web site. So! If you want to use your Windows XP games, you need to do. It is still possible to run the 32-bit of Windows XP on a 64 bit system. I created a system boot duel using Vista 64-bit and 32-bit of Windows XP. The system is set to boot Vista normally. You can select Windows XP 32 bit on startup when you want your 32-bit games. I was forced to do it with my MSTS as well. I have a control RailDriver. There can be no drivers 64 bit at the time of writing.
    The foregoing is shared so that others can benefit form, what has been done. By the way. Not all 32-bit games need this treatment.

  • Re: With DVI-d port PA3542E-2PRP Dynadock not working only not with Vista

    Hello

    I have a new laptop under Vista Home Premium.
    First thing I'm trying to install is the driver Toshiba Dynadock - new model of a PA3542E-2PRP (with DVI port).

    Immediately ythe driver is installed, an alert appears explaining that the color palette will be changed because of the incompatibility. In others, the laptop screen turns off completely (until I have remove the connection to the dynadock, when she returns to normal). I then install the updated driver from the site Web of Toshiba (proposed in previous thread by Eldorado 17 Jul 07). I have trouble to install it correctly, but when I do, it corrupts one of the laptop video cards.

    It have since then done a 'restoration' on the laptop, so am at square one. However, I am wanting to continue using the Dynadock if possible - of the very welcome suggestions please!

    Thanks in advance

    If I understand correctly, you were able to install the software on Vista Dynadock, but now the graphics driver installed doesn't work as it should I am mistaken?

    Well in your case I n t see no problem with Dynadock but driver you graph. Therefore, an update of the graphics card driver would be desirable

  • Halo: Combat Evolved for PC works only on Windows Vista - Error Message "" unload the debugger, and then try again."

    I'm having a problem running Halo: Combat Evolved on Windows Vista. I can insert the disc and install the game without problem. The problem is that when I try to launch the game, I get error message saying "" unload the debugger, and then try again." I tried to install some of Halo patches to see if that would fix the error (for example, 1.6 and 1.7), but when I try and open the patch .exe file I get an error message telling me to go to a microsoft Web site or try to update the game manually. In addition, I tried to contact Gearbox Software to see if they could help me, all they said was to contact Microsoft.

    Does anyone have any suggestions as to why the game does not work for me and how can I make it work?

    Let me know, thanks. :)

    Hello whyohwhy42,

    I suggest that you follow the section below. This includes various possible steps to solve this problem:

    http://support.Microsoft.com/kb/812759

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • Microphone works only in Windows Vista

    We have windows vista and our microphone does not work... can you help?

    Hi Dumbanddumber,

    Here are the troubleshooting steps you have to try to solve your problem.

    -Click on start > Panel > switch to Classic view > sound > recording tab > make right click in the empty space below the recording device select > devices see the disabled > if the microphone is disabled enable it

    -Try to restart the computer and let Windows Vista again detects your sound card again.

    S ' ensure that you have installed the latest compatible audio drivers Windows Vista version, if not we strongly recommend to download the latest audio driver for your Web site to computer manufacturers for your sound card or onboard audio chipset.

    -Plug the microphone of your sound card / audio card mother (usually pink in color for micro) pine

    -After this, go to control panel > sounds and Audio devices settings. Check to see if the microphone is detected by Vista. If this is not the case, check if you have selected microphone front or rear, as vista acknowledges their separately unlike windows XP. Correct the configuration of the microphone rear if necessary.

    -Check if the device is working properly by testing it on the other computer.

    -The microphone worked fine before and if if remember when you make changes to your computer before the onset of the problem?
     
    In this case restore us your computer to an earlier date when things worked very well.

    Manual steps to restore the registry in Windows Vista:

    1. on start , type systempropertiesprotection in the search box and press
    Come in.

    If you are prompted for an administrator password or confirmation, type
    password, or click on allow.

    2. in the Properties dialog box system on the System Protection tab, click System Restore.

    3. in the System Restore dialog box, select choose another restore point and then click Next

    4. Select the restore point that you want to use, and then click Next.

    5 confirm your restore point and then click Finish System Restore restores the selected Windows Vista configuration and then restarts the computer.

    6. log on the computer. When the restoration of the system of confirmation page appears, click OK.

    Hope that helps, please post back and let us know if it worked for you.

    Anthony
    Microsoft technical support
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Skype works only in Windows Vista

    Hi team,

    I have Windows Vista Home Permium, Service Pack 1 installed in my laptop. I installed version 4.0 of Skype in the system. When trying to connect to Skype, it gives me a message "Unable to connect to Skype", Contact system administrator or wait and try after 2 minutes. I am the administrator of the system.
    I installed Bitdefender as my Antivirus system and use only the default Windows Firewall settings, because I do not use third-party firewall settings.
    Kindly help me with a solution to connect on Skype...
    Thanks in advance.
    Kind regards
    Ravindra.

    I guess you are using the password and login name.

    Have you tried to clean the temporary Internet files, including Cookies?  See IE/Tools/Internet Options / delete.

    Can you connect if you launch your e-mail program by right-clicking on the shortcut on the desktop or the Start Menu and selecting the option "Run As Administrator"?

    Have you tried to temporarily disable all your programs type of security to see if you can connect then?

    Can you connect if you try with 'Safe Mode of network?

    315222 - a Description of the Options in Windows XP (or Vista) Safe Mode boot
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;315222&FR=1&PA=1&SD=HSCH

    310560 How to troubleshoot by using the Msconfig utility in Windows XP
    http://support.Microsoft.com/kb/310560

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/default.aspx/KB/929135

    Help and Support

    https://support.Skype.com/
    http://help.Yahoo.com/l/us/Yahoo/Messenger/messenger9/Messenger/

  • Skype works only with windows vista

    For the entire month past, whenever I open Skype, it immediately no longer works and I get a Windows message saying to download the latest version of Skype.  I am running Windows Vista and I think I need some kind of patch from Microsoft.  Anyone know where I can get to fix this?  Skype forum is useless.

    Hello

    ·         Were there any changes made to your computer until the problem occurred?

    Check the event viewer for any related event logs on what is causing the problem:

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-information-appears-in-event-logs-Event-Viewer

     

    Completely uninstall and then reinstall the latest version of Skype and check if it helps:

    How do I completely uninstall and reinstall Skype?

    https://support.Skype.com/en-GB/FAQ/FA10634/how-can-I-completely-uninstall-and-then-reinstall-Skype

    Provide us additional information, as appropriate. So that we can help solve you the problem on your computer.

    Hope this information helps you.

  • Skype works only on windows vista

    I use windows vista. Whenever I try to open Skype, I get reviews - Skype has stopped working. A problem caused the blocking of the program works correctly. Windows stops the program and advise if a solution is available.

    Kind regards

    Cedrick.

    Hello

    Be sure to contact the Skype Support like this might be a known issue and they might have the solution.
    There is also information and on the Skype Forums.

    There is an alert to update Skype system on the Skype homepage
    http://www.Skype.com/intl/en-us/home?intcmp=Alogo

    Skype - Support
    https://support.Skype.com/en-us/

    Skype - Forums
    http://Forum.Skype.com/

    It's the latest Skype Heartbeat information in date 27/05/2011:

    Skype Heartbeat - [MAJ] problems connecting to Skype and calls for a small number of users
    http://heartbeat.Skype.com/2011/05/problems_signing_into_skype_an.html

    I hope this helps.

  • Digital Image Suite Plus including v10 Pinnacle Studio works only on Windows Vista

    Orgnal title: Digital Image Suite Plus including Pinnacle Studio v10

    I have been using Microsoft Photo Suite Edition on my computer with Vista. It has about 8 000 pictures on it. I made 3 DVD of our life story and have more than 1 or 2 to end it. Every time now that I try to open the program, the icon keeps circling and will not open anything. I have to turn off the computer each time to stop him. How can I open the program to create new stories of the picture?

    Hi Bob,

    (1) since when are you facing this problem?

    (2) remember to make changes before this problem?

    Method 1:  Put the computer to boot and then check if the problem persists

    Follow step 1 in the link below,
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    If everything works well after a clean boot, you can deduce that some third-party services are at the origin of the problem.

    Continue with the remaining steps to pin-point on the third party service.

    After find you the program that is causing the problem, you will have to perhaps to update or install a newer version of the program, if you rarely use that you should consider uninstalling the software.

    Important: n ' forget not to put the computer to a normal startup follow step 7 in the link.

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer
    ***************************************************************************

  • Palm Zire 71 works only with Windows Vista

    I recently updated a program that I use on my desktop and sync with my Palm Zire 71. To get the new update on my Palm, I tried to use Palm quick install. I believe that this does not work with Windows Vista!  What are my options?  I don't know how to get this update on my Palm so that I can synchronize my data between my desktop and Palm Zire 71. Any suggestions for this?

    Have you tried right clicking on the shortcut to quick setup, or the .exe and select "Run As Administrator"?

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/default.aspx/KB/929135

    This could be a useful resource too.

    Palm support
    http://KB.Palm.com/wps/portal/KB/common/article/44532_en.html

Maybe you are looking for

  • Fast forward on the videos does not work on tvos 10

    Hello After updating to the latest tvos, 10, fast forward on the videos does not work. I can only fast forward when I press on the right place on the pavement and fast forward 10 seconds in time. Someone else has the same problem? Is this a bug in up

  • Firefox download last hijacked by Yahoo

    Download Firefox Setup Stub 31.0 of today 5 August 14 is locked in Yahoo. Even using Google links in Yahoo and not to open the pages. This continues despite several downloads. Similarly there are a considerable number of advertising 'hooks' that dott

  • Satellite T135D-S1324 - no support for USB boot

    Hello. I buy this model (TOSHIBA SATELLITE T135D-S1324), I am a linux user, this model comes with ligthscribe player, I want install ubuntu on USB but to my surprise I discovered that there is no option for USB boot in the BIOS config. Anyone know of

  • When to add several new lines to a picture - is there a 'best practice' to use here?

    I need a picture of evolution.  It won't change much, but it must be done. In MatLab, I would write: Now I expect it's pretty.  I know that I could wrap it in MathScript if I wanted a 1000 x hit in performance (link), so I try to avoid this. If I had

  • View System Restore/screen problems

    I have two problems. (1) my system restore doesn't seem to work. It shows points of restoration in July of 2012 but even allow me to restore to that. I get a warning triangle yellow when I try.(2) my icons and images on the screen are distorted, crus