Groups | Blog | Home
all groups > macromedia flash flash remoting > june 2005 >

macromedia flash flash remoting : General remoting help


jrpugh
6/29/2005 12:00:00 AM
Oddly enough, the problem was related to using the . syntax for the web address
as opposed to the domain name. Strange because this works on another page
already on the server for quite some time now. Anyway, I replaced the
http://66.241... with the domain name and everything is fine now.

Thanks anyway!
ufitzi
6/29/2005 12:00:00 AM
I'm experiencing the same problem, except I've been testing using the domain
name all along.
Now that I've deployed the SWF onto the web, my data is not showing up.
Any ideas?
I'm using the AS2 components, with MX2004 Pro.
bh
jrpugh
6/29/2005 12:59:52 AM
I am a CFC with my AS. The page loads fine with all data from the "Test Movie"
menu item but once loaded to the site it no data is displayed, only variable
definitions. The code I am running in the test movie is exactly the same as
on-line, meaning I am not using a localhost for anything, all testing is live.
The test movie calls to the CFC located on the server and displays info as
planned.

Any ideas?

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

if (isGatewayOpen == null) {
// do this code only once
isGatewayOpen = true;
// Make the Gateway connection

NetServices.setDefaultGatewayUrl("http://66.241.217.105/flashservices/gateway");
gatewayConnnection = NetServices.createGatewayConnection();
getcomms= gatewayConnnection.getService("com.dutchheritage.communities",
this);
getcomms.getcommunities();
}

function getcommunities_Result(community) {
mnumrec=community.getLength();
commcity=rtrim(community.items[0].communitycity);
maincommname=rtrim(community.items[0].communityname)+" - "+commcity;
if(community.items[0].minlotprice>0){
commdetpricefrom="Priced from
$"+decformat(community.items[0].minlotprice,0);
if(community.items[0].maxlotprice>0){
commdetpricefrom=commdetpricefrom+" to
$"+decformat(community.items[0].maxlotprice,0);
};
}else{
commdetpricefrom="";
}
commdetdesc=community.items[0].communitydesc;
...and on and on...




AddThis Social Bookmark Button