If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.
![List of issues](/flash/images/issue_list.png)
#2157 Connecting to a local server.
Author:
Piping
![user user](/flash/images/user.png)
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: new ![Help](/flash/images/help.png)
![Help](/flash/images/help.png)
Hello,
I'm currently trying to fix an ActionScript 2.0 game.
It uses the sendAndLoadVars method to communicate with a server.
My server is running at localhost:8080.
When I run the debugger on localhost, it won’t throw the sandbox violation like it
usually does, it simply stops and waits for me to click on run or step over. However,
after that, no traffic is logged in wireshark between my server and the Flash application.
The only traffic that I log is between the debugger and runtime on port 7935.
The related issue is this: /www.free-decompiler.com/flash/issues/1356-debugger-internet-access.
Unfortunately, I'm very confused about the crossdomain.xml file and where I'm supposed to
put it or find it.
Also, I don't think that would help since I'm running the server locally and the debugger
does not log the sandbox violation anymore.
Does anyone have any ideas why requests are not being generated? Is there another API for
communicating with a local server or even a local process that people know works with the
debugger?
Anyone has any idea? Someone had to have had the same issue. Connecting to a server is
something very basic today.
We had this issue on a project I help with, which uses Send and Load. We found out that it
only worked over HTTP, and wouldn't work with SSL. You could also try an older flash
player, or combine the SWF with a Flash Player to avoid issues with flash and internet
connections.
With my project, we found out that if you opened Flash player exe then did
File-Open-Game.swf, it would error with anything FlashPlayer 9 or newer and wouldn't allow
connection. We ran it with FP7 that way and we were fine, it conencted via HTTP non-SSL
just fine.
Thanks for the response. Unfortunately, I'm still having issues.
What does it mean to "combine the SWF with a Flash Player"? Search results only spew out
stuff about combining multiple .swf files into one.
Also, I'm having issues with finding an older Flash player. I downloaded it from the
archive, but the installer just wants to add it to a browser, and there are no good
tutorials for running older flash players on modern systems.
Does anyone have any resources which I can look up related to this issue? Can't seem to
find them. Or at least some tutorial about connecting to a local server.