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 / June 2005



Tip: Looking for answers? Try searching our database.

General remoting help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jrpugh - 29 Jun 2005 01:59 GMT
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...
jrpugh - 29 Jun 2005 05:55 GMT
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 - 29 Jun 2005 16:08 GMT
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
 
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.