FileReference IOError on MAC but not on Windows #2038

Hi all

I have an AIR application developed in Adobe animate. This application contains a class using FileReference to download files on the server.

When I install it on Windows, .works perfectly, but if I install it on a Mac, press "IOErrorEvent # 2038" error.

Does anyone know why this happens only to the MAC? How can I solve that?

If it helps, I let the part of my code:

var myFileReference:FileReference = new FileReference();

myFileReference.addEventListener (Event.SELECT, selectHandler);

myFileReference.addEventListener (DataEvent.UPLOAD_COMPLETE_DATA, responseHandler);

myFileReference.addEventListener (Event.CANCEL, cancelHandler);

myFileReference.addEventListener (Event.COMPLETE, completeHandler);

myFileReference.addEventListener (HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);

myFileReference.addEventListener (IOErrorEvent.IO_ERROR, ioErrorHandler);

myFileReference.addEventListener (Event.OPEN, openHandler);

myFileReference.addEventListener (SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);

function selectHandler(e:Event):void

{

var urlToCall = " " http://localhost/services/MyPage.ashx?param1=value1 & param2 = value2 & param3 = value3 ";

var request: URLRequest = new URLRequest (urlToCall);

request.contentType = ' multipart/form-data ".

Try

{

myFileReference.upload (request);

trace ("upload");

}

catch (error: error)

{

showError ("error loading file. \nPlease, try again.");

}

}

function cancelHandler(event:Event):void {}

cancelHandler;

}

function httpStatusHandler(event:HTTPStatusEvent):void {}

httpStatusHandler;

}

function ioErrorHandler(event:IOErrorEvent):void {}

showError ('IO error file loading. \Please, try again later. ") ;

}

function openHandler(event:Event):void {}

openHandler;

}

function securityErrorHandler(event:SecurityErrorEvent):void {}

showError ('security download file error. ("\Please, try again later.");

}

function completeHandler(event:Event):void {}

downloaded

}

Fixed,

The problem was that the URL contains blank spaces.

Kind regards

Tags: Adobe Animate

Similar Questions

  • How to remove music on my mac but not on itunes

    How to remove music on my mac but not on iTunes. I have so many songs on my mac but I don't listen to any of them and I don't have any space so I need to empty it, can it be done on mac?

    You can't delete something, having yet again.

    Get an external drive and move the iTunes folder everything there.

  • Corsair 3.0 slider 16 GB detected in BIOS but not in Windows 7...

    The usb works on all the other computers I tested, but not on mine. I have windows 7 Enterprise x 86 installed. In addition, it is detected in BIOS but not in windows... All solutions? Thank you.

    Hello KhurramHaider.

    I suggest that you go on the site crosair and look of the driver, if you found and installed and it STILL does not work, then there could be a problem in the operating system
    Concerning
  • I was able to reconfigure the keys of volume to stay focused on VLC, but not on Windows.

    Original title: Volume control...

    Hello, everyone.

    I have Windows 8.1 RT. I think so. Microsoft says that I need to update to 8.1 and system says I have 8.1. Whatever it is, I also have a keyboard modern with the volume on it and VLC keys.

    Linux OSX, I am able to reconfigure the keys of volume to stay focused on VLC, but not on Windows. Is it possible to redirect these presses for volume for VLC constantly keys? Like, say, I am in Word and in the middle of a thought and can not switch to VLC, but need to lower the volume for JUST VLC right now cause of a strong scene, and yet I press volume down and Volume Windows falls down instead of just VLC.

    Please tell me there's a way to do it through windows or that there is a program that I can use for this unusual feature request...?

    Hi Esau,

    1. you use preview version of Windows 8 RT?

    Overview of Windows and Windows RT 8.1 8.1 Overview expire on January 15th, 2014.

    The notification that you receive is the warning, upgrade to version 8.1 of Windows or Windows RT 8.1. From January 15th, 2014, your PC automatically restarts every 2 hours, potentially causing you to lose all unsaved data.

    You can update to version 8.1 of Windows or Windows RT 8.1 by clicking on the Get Windows button that appears on these notifications.

    For more information: Learn how to update Windows 8.1 Overview to Windows 8.1.

    Note: I highly recommend back up all your important files and folders on an external storage device before performing any type of repair operating system or upgrade.

    Unfortunately, you can't set the separate volume just for VLC. Key functions of volume on the multimedia applications running on the Windows RT.

    Since VLC is third-party program you can contact their support site and check for more information.

    http://www.videolan.org/support/

    I hope this helps. If you need help with Windows, let us know and will be happy to help you.

  • IOError in IE but not in Firefox (problem possible crossdomain.xml)

    Yesterday I debugged If all goes well a problem that happens for our application in Internet Explorer but not in Firefox.

    This has to do with access to remote content from a separate domain.

    In all aspects, it SEEMS to be a problem of crossdomain.xml, but the fact that this arrises only problem in IE is what prompted me to post here.

    We have a solution in progress (in the bureaucratically speaking), but I want to check here.

    Our application is the field of "a.domain".

    It access a file xml on 'b.domain/xml/ '.

    And finally (this is the tricky part) it also accesses an xml file to "b.domain/forwardingPath/" which is actually transmitted to the 'c.domain/xml/ '.

    The crossdomain.xml is located at "b.domain/crossdomain.xml".

    The application of "b.domain/xml/anXMLFile.xml" works without any problem.

    The demand for the 'b.domain/forwardingPath/anotherXMLFile.xml' exists in Firefox but not in IE (remember, ACTUAL demand is sent to "c.domain/xml/anotherXMLFile.xml").

    In Internet Explorer, I get an IOError.

    I think that we need a proper crossdomain.xml file, also located in the "c.domain/crossdomain.xml" and put in this request.  I want to confirm is whether this interpretation is correct.  I'm not at all a person on the server side.  It's all of the elves and fairies for me.  And then finally, why the hell is this inconsistent behavior between IE and Firefox?  The version of flash player Firefox violates its own safety standards?

    I swap this in the stack overflow.  field-xml-issue http://StackOverflow.com/questions/7395931/ioError-in-IE-but-not-in-Firefox-possible-Cross

    I have ping our developers on this subject and this is what they have to say:

    "We did some work for the plugin around redirects andhence the correct behavior on Firefox.

    As far as I KNOW, on IE we don't get the redirection messages and may not participate in the decision-making process of security during redirection scenarios. This behavior is beyond our control.

    There is a workaround solution described in the AS3docs here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/LoaderCont ext.html #checkPolicyFile

    Here's the relevant paragraph:

    Be careful with checkPolicyFile if you are downloading anobject from a URL that can use HTTP redirects on the server side. Arealways policy files comes from the corresponding initial URL that you specify inURLRequest.url. If the final object comes from a different URL because of the HTTPredirects, the initially downloaded policy files might not applicableto the of the object's final URL, which is the URL that matters in security decisions. If you are in this situation, you can examine the value of ofLoaderInfo.url after receiving an orEvent.COMPLETE ProgressEvent.PROGRESS event, which tells you the final URL of the object. Then call the method theSecurity.loadPolicyFile () with a URL based on the object URL policy file ' sfinal. Then query the value of LoaderInfo.childAllowsParent until it becomes true. »

    Chris

  • Using the same virtual machine on two macs, but not at the same time

    Hello

    I searched this site and the Internet in general, but I couldn't find an answer to this question, so my apologies if this is requested before and if so, please point me to the answer.

    I have an iMac with Bootcamp with Windows 7 Professional x 64 partition and everything works fine.

    I would like to install 6 Fusion and create a virtual machine from the Bootcamp partition, try it for a while and then delete the Bootcamp partition. I found a complete documentation about this and I should be able to do this without any problems, except perhaps for the reactivation of Windows.

    Now the question: since I move sometimes, I would like to be able to move this virtual machine on a Macbook Pro, so I must not move file, sync, etc., and the virtual machine will not at the same time. I read that you use Move so the address UUID and Mac do not change, but I don't know if this applies to move the virtual machine to another computer. If my is:

    (1) is it possible?

    (2) what I have to buy a second copy of Fusion 6 or there is a player that will allow me to run the virtual machine on the macbook?

    Thank you

    Luciano

    I have experimented with a Windows 7 VM, copied (but I have 2 licenses of retail sales) a mini Mac Core 2 Duo to a Core i7 MacBook Pro retina: well, despite the different processor, he did not ask a reactivation, strangely, even after a few resets. Windows 7 so, seems at least to be quite "tolerant", on this front.

  • HP Officejet Pro 8600 Premium: I have a printer HP 8600 pro works fine with my Windows 7 computer, but not with Windows 8.1

    I have a printer HP 8600 pro works great with my computer Windows 7 & computer laptop, but not with my laptop Windows 8.1. When I tried to print wireless (I didn't try connected), it would print only the first pages of 2 or 3 of everything I tried to print. I uninstalled the printer and inserted the CD to try to re - install and I got an error message indicating that the printer does not work with my operating system. I was able to install it earlier, but now, it will not install at all.

    Too bad. I'm sorry. I'm went to the HP Support Web site & downloaded a new driver & now it works!

  • hard drive is seen in bios but not in windows vista installation

    Hello, I have a hp ze2315us pavilion which is also a hp pavilion ze2000 cto, I have 1 GB of ram, a disc 60 hard IC25N040ATMR04 Go-0-(PM) and it is part of the bios and I had vista installed previously, but there was a corrupt file so I formatted and deleted the partition so there is all the space unallocated, then I restarted the computer and the disk still appears in the bios , but when he said where would you like to install the operating system it says theres no HDD found please help! Also, I try to install vista home basic 32-bit edition

    Hi hp pavilion ze2000 cto.

    Thanks for posting in the Microsoft Community.

    I understand that you are facing the issue with the hard drive in the bios but not appear in the windows vista installation.

    Given that the problem is related to the BIOS and a hardware malfunction as possible, I suggest you to contact the manufacturer of the computer for further assistance regarding this issue.

  • Dell XPS 8700 - failure of the keyboard when the bios boot (but not when Windows is loaded)

    My Dell XPS 8700 has 10 Windows and a Logitech Keyboard wireless, connected by USB. The keyboard works absolutely fine when Windows has loaded. I have the latest version of the bios, A11.

    However, when the computer is turned on and starts the bios start, it displays 'Keyboard Failure' on the screen for about half a second. When I try to go into the bios setup by pressing "F2" at the counter (I keep typing "F2" from the moment when I press the power button on the computer), there is no answer. The "keyboard failure" and inability to enter the bios setup seems to happen if I do a cold immediately after a stop start, a cold start after the computer is turned off for an extended period or a reboot.

    I tried to connect the wired keyboard original Dell one of the USB ports on the front of the unit (without disconnecting the wireless keyboard) with the same problem at the start of the bios.

    I encountered this problem on versions of bios A11 both A03. I know that in the past, although I don't remember when - I was able to enter the bios setup by pressing "F2".

    Any thoughts on how to solve this problem?

    You can try and reset the CMOS. It will return your settings to factory settings, but not the version. Usually, this erases these problems because CMOS stores data editable such as your wireless keyboard settings. BIOS stores the information about the basic material that is unchangable as your keyboard usb, mouse and other essential equipment. If you notice, when you just plugin any keyboard and mouse, its recognized at startup. Your needs software to run wireless device and that is stored in the CMOS.

    So once reset you the CMOS, you may need to then install the wireless software.

    Good luck.

  • HP Officejet 4500 G510n-z Wireless connection print Windows Vista, but not from Windows 7

    Printer HP Officejet 4500 G510n-z seems to be connected to my Dell laptop with Windows 7 on HP Solution Center page, but does not print. Documents just get stuck in QC. It was printing then it wasn't so that's when it wasn't. The printer works when I print from a laptop more old Vista. The last time this happened, I uninstalled and reinstalled the HP software and that doesn't seem to help. Then, for some inexplicable reason, impression began to work. It has now stopped working again. I can scan the Windows 7 laptop but not print. I tried all the troubleshooting tools that I could find without success. Thanks for trying to help.

    Hello-

    It could be caused by a couple of things:

    1. firewall on PC or router.

    2 interference (microwave, cordless phone base @ 2.4 Ghz)

    3 distance from router

    4 corrupted printer driver.

    Turn off the firewall you have and you move anything that can cause interference to router.

    If none of the above solves the problem, I'll have to install a different printer driver.

    Click Start.

    Go to devices and printers.

    Click Add a printer.

    Add a local printer. Create a new Port, then choose "Standard TCP/IP port.

    Click Next.

    TypeRegeditdans in the box 192.168.1.12 IP address or host name. (uncheck the box 'Interrogate the printer')

    Click Next.

    When the printer list opens, click windows update. (it takes a few minutes)

    After the box appears, choose HP (not Hewlett Packard) on the left and choose "Deskjet 990c" on the right.

    Click Next, the default value and end.

    Try to print using the printer Deskjet 990c.

  • Why duplex option isn't greyed out on my Mac, but not my PC?

    I can't for the life of figure me out how to turn on duplex printing of the print booklet on my Mac command. If I move the files a PC, I can make it work.

    From the PC, I'll print booklet-> Configuration printer-> Configuration-> click on the Preferences button and finally I am in the printing tab shortcuts to turn on both sides (duplex) printing. This works.

    But on a Mac I'm going to print booklet-> Print Settings-> Configuration-> printer choose layout, then the duplex option is grayed out.

    As I build the product book on my Mac, I have to be able to do the entire workflow of Mac.

    I'm in InDesign CC on machines and printing on a HP Color Laserjet 5550 PCL 5.

    It may seem a problem of driver on the Mac, but I don't know what else to try.

    The answer to my original question was this:

    Print settings on the Mac, I had not checked on the duplex unit, printing, from the hand. It was not accessible form print menus, I had to go to the mac system preferences.

  • Problems with Javascript on Mac, but not PC

    I run into some strange problems with a script in which Mac another user stops on a line nothing stores more than one State of history to the variable "actHist" while PC to run the script very well.  We will test the script one Mac to another later today, but I was wondering if there are any known issues with running scripts in Java on Mac vs PC database?  Here is a screenshot of the problem:

    MacError.png

    I can't understand WHY it stops on this area.  I tried of asigning the variable outside of the cause of the else statement that I was out of ideas, but it's the same no matter where I declare it.  The odd part is, that the same line is used elsewhere in the script without problems, it doesn't seem to work in the same place on a Mac (PC has no problems with it).  No idea why this is only a problem for the Mac and not any PC?

    Tom's right. It is a known problem and Adobe has been alerted to this topic. This error can also occur when you try to access the activeLayer of a document.

    I used this code for embarrassing lines like this and it worked for me:

    try {
       doc = app.activeDocument;
    } catch  (e) {
       $.sleep(500);
       var desc = new ActionDescriptor();
       desc.putEnumerated(cTID("Stte"), cTID("Stte"), cTID("RdCm"));
       executeAction(cTID("Wait"), desc, DialogModes.NO);
    
       doc = app.activeDocument;
    }
    

    It did not work for others. Someone suggested using the:

       try {
          doc =  app.activeDocument;
    
       } catch (e) {
          app.refresh();
          doc =  app.activeDocument;
       }
    

    I have not tried because I don't have a reproducible test case.

  • Printer connected to the network, MG5320 will print without mac fault but not with windows 7

    Canon MG5320 printer works great and I am able to print wirlessly of my mac mini which is 3 rooms away from the printer, but my windows 7 laptop is right next to the printer can print only if USB is connected and not wireless. I recently tried to separate the printer and the computer laptop windows 7, placing the printer rooms 2 far but the custom still pc wireless printing. I don't know what to do now?

    Hello smiles917.

    It may be possible that the Windows 7 computer is configured to use the USB port and not on the wireless connection.

    Uninstall and reinstall the drivers should fix this problem.  Please, perform the following steps:

    1. open the control panel from your desktop or the Start Menu.

    2. open programs and features.

    3 uninstall the drivers MG5300/MP and the Canon IJ Network Tool.

    4. close all open windows.

    Once this has been done, please visit our Web site at the following address to download and install the latest driver for MP for Windows 7.

    http://www.USA.Canon.com/Cusa/support/consumer/printers_multifunction/pixma_mg_series/pixma_mg5320#D...

  • Animate the file in Captivate works on Mac but not Windows. Why?

    I built a custom ToolTip rollover in edge animate and then imported the .oam file into Captivate. I chose this path because the end result of the lesson of Captivate is HTML5 and bed in Captivate training balloon interaction works with a .swf output. So I wanted the animation fantasy effect

    Here's the thing. The ToolTip works and works beautifully on my Mac when you view the file Captivate output in the browser Chrome or Safari. When you try to view the same Captivate file into Chrome, Firefox or IE on a Windows operating system, it is a complete failure. Why is this? This is important because I'm working on a hybrid team where there is a mix of OS X and Windows operating system, and there is not to say the variety of the OS which will be used to interact with my lessons of Captivate.

    So here's my question: why est-info-bulle works perfectly under OS X, but a complete failure on Windows?

    Please feel free to download the zipped file from Captivate here.

    Please feel free to download the go Animate zipped here.

    Have you tried to load your HTML5 content on a web server and consultation here on two operating system platforms?  View all content HTML5 on a local drive usually is going to get the best results.

  • Media Queries: Works on Mac, but not Windows

    http://www.sandiegohomegrown.com/testSDTG/

    I've been coding of this site on my Mac and it works with Firefox, Safari and Chrome.  I pulled to the top of the old Windows machine and it does not work with Safari, Firefox or IE10.  He simply ignores requests from the media completely.  It must be something really simple, but I am confused.  Help!  Gary

    You are missing your brace end on most of your MQ.

    The correct format is

    {@media} (: attribute value)

    {selector}

    : attribute value;

    : attribute value;

    }

    }<-- you're="" missing="" this="" one="" for="" most="" of="">

Maybe you are looking for

  • ROTTEN APPLE

    Today I ordered a MacBook Air I found BestBuy.ca is selling for $200 less Apple.ca. I called Apple and they refuse to match the price. They cannot cancel the order they wish to so for me to visit a local Apple store and return it for a refund. This i

  • THE TASKHOST. EXE, high utilization of the processor - Satellite Z30 / Win 8.1 64 bit

    Hello I'm looking for a way to * find the battery life... *. For some time, the * TASKHOST. EXE *, "host process for Win tasks" (pl.: "trial dla zada hosta?) systemu Windows") * runs all the time, consumes about 30% of the CPU. It works even without

  • All the pictures are missing in ICloud.

    I have reset my old 4 s to sell it and now all my pictures have disappeared from my new 6 s more. I went to ICloud and on startup it showed me that the pictures and then they all disappeared and shows as empty. Is it possible to restore photos on my

  • Upgrading processor on Satellite L30

    Can I replace my Intel celeron with a complete Intel pentium processor for my laptop Satellite L30-105? As it is so slow I got it since February 2007, more than half of my HDD disappeared too?

  • Re: Portege M750-11 t - connection is unstable

    Hello I had a problem with my Internet connection on M750 almost since the beginning. What is happening is that the connection is unstable. I had difficulties to simply connect with a cable, with Wifi too. But wireless seems to work well. Also, when