haXe Forum > flash error #2032

  • flash error #2032
    I'm building my project in flashdevelop and then the activex playing named there "play in new tab" fails for me with flash error #2032
    I tried reinstalling flash player 9, 10, ordinary and debugger and nothing helped me
    flash develop adds the bin path to the flash trusted as I can see
    I added it to the trusted swfs via right-click security opetions menu
    nothing helps.
    I tried compiling haxe with -D network-sandbox this had no effect. It had no effect as well. My swf does not load local files, only does remote server http requests.
    It is not a case of crossdomain.xml or something: Other people building from my sources in flashdevelop can access remote host: they don't have #2032
    Any ideas?

  • Windows file system isn't the same as HTTP server... thus the syntax rules are different: for instance, whereas a URL ./foo/bar would be OK for HTTP server it won't work on Windows because it doesn't "understand" dot as a "current folder", similarly there may be errors related to non-latin or non-alphanumeric symbols in URL. When working from file system you don't need to escape them, however, when working remotely you have to.
    Another reason for this error may be poor local network setup - that is if you're loading content from the network drive it may appear broken / not all of the data will arrive etc.
    In general you shouldn't test such things from file system, it is better to install an HTTP server and run your SWF from the server. Apache is a free and very popular installation, you can also try XMPP / WAMP (this installs the server + some common libraries), or, IIS is a part of Windows distribution (however isn't installed by default), you may install it from Control Panel > Add Remove Programs > Add Windows Components.

  • To clarify things. I'm not loading content, I need to make a gui frontent for my remote api server.
    For some good reasons the easiest way for me is to build and test locally without having a "development localhost server".

    Yesterday I discovered that a fresh created user on my machine is able to access the remote server without 2032. I reverted my windows profile to a couple of days in the past and it helped.
    BUT only temporary. After a couple of hours of bugfree work the problem returned.

  • If you are communicating using Flash then you do load content, this is because Flash uses TCP and TCP means sending and loading.
    Anyways, this error means that the response cannot be read as TCP or HTTP if using URLLoader, that is a technical failure on the level which is out of the scope of Flash application. So, it is either your environment (proxy, firewall, anything else that reads the traffic, could be even some sort of a virus etc.) or a remote application failure, when, for example your server will not form a valid HTTP response or will send wrong headers, or wrong encoding (like, if it sends text in UTF-8 it is possible that the text isn't correctly encoded). Basically, in terms of HTTP errors this would translate to 500+ status.

  • I think you are right, I would leave it to be a system level error. Maybe not the whole system but a glich in flash activex caused by some hard/software problems. Though I can access via browser the remote host.
    Let me just pray it will work ok for a while

< Prev | Page 1 / 1 | Next >