Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / November 2003



Tip: Looking for answers? Try searching our database.

Error opening URL "http://test.mysite.co.uk/flashservices/gateway"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hoddle10 - 25 Nov 2003 10:28 GMT
Hi

I am having trouble with flash remoting when taking my site onto a live server. Everything works ok on my local machine using the following actionscript code -

#include "NetServices.as"
#include "NetDebug.as"

function Result()
{
   
    this.onResult = function(result)
    {
        trace("Data received from server : " + result);
       
        winetext.text = "Data received from server : " + result;
    }

    this.onStatus = function(error)
    {
        trace("Error : " + error.description);
               
        winetext.text = "Error : " + error.description;
    }
}

NetServices.setDefaultGatewayUrl("http://test.mysite.co.uk/flashservices/gateway");
var gw = NetServices.createGatewayConnection();
var server = gw.getService("mysite.text", new Result());
server.getmaintext();

To go live I changed the following code

NetServices.setDefaultGatewayUrl("http://test.mysite.co.uk/flashservices/gateway");

but the text called fails to show in the movie.

I have checked the flashservices through my browser and I get the following -

http://localhost:8500/flashservices/ - Blank Screen

http://test.mysite.co.uk/flashservices/ - HTTP 404 - File not found error

Is this the problem? Any help is appreciated.

Adrian
hoddle10 - 25 Nov 2003 10:58 GMT
Can I also add that I have just tested my app on my local machine through a browser and the text doesn't show there either.

Any Ideas?

Adrian
hoddle10 - 25 Nov 2003 11:33 GMT
Scratch that it works fine on my local machine.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.