I have a movie that connects and displays the data fine when
run by testing
the movie from within flash its fine however as soon as i try
to run it from
the html or by IIS link to the swf, or even by browsing to
the swf via file
manager it fails to do show any data.
Any ideas why?
My code was connecting fine before or at least i think it
Does anyone have a basic fla that works for them using the
that i could test on my machine?
the connection code is as follows:
//receives data returned from the method
this.onResult = function(result)
trace("Data received from server : " + result +
result.items.length + "
items were received" );
//this is where we put the data in the text field
var gw = NetServices.createGatewayConnection();
var server =
end code ================
A few things have flagged in my mind, they may be way off
- Recent security changes in browsers (click here to
- My wildcard import on the first line however i'm not sure
dependancies i specifically need to compile this project.
- cross domain security restrictions.. i am currently
connecting to a
service at a remote server from my local machine/IIS
what confuses me is that good ol' CTRL+ENTER works fine but
on any parameter calls such as loading
which requires that it be run via a webserver.