|
Mailing Lists
|
Home / Groups / Adobe Integrated Runtime (AIR)
RemoteObject Troubles on Windowssilly laptop, I did not mean to send that yet.... Am thinkinng your problem is not code syntax if the code works on a mac -- that is why I am thinking about connections. For other connections (not involving this particular code) is it also true that you can connect to campus with the mac but not with windows? > there's an interesting suggestion! I am thinking that your issue is not > > >> Is the server in this: >> >> updateRO.endpoint = "http://myserver/flex2gateway/"; >> >> just the server name of the full domain name? If it's just the server >> name, perhaps your MAC has a hosts entry for that server that your PC >> doesn't. >> >> mxAjax / CFAjax docs and other useful articles: >> http://www.bifrost.com.au/blog/ >>> Sorry for the duplicates posts, I always forget there is a hesitation on houseoffusion before posts are presented. >>> >>> @Dana, The CF server resides on campus. The funny part is that when I test the RemoteObject at home (off campus) it works on my MacBookPro while it's running XP, but not on a Dell laptop running XP from the same location. I've tried from various locations (and with various hardware configs) off campus and the only consistent behavior is that the RemoteObject always works from a Mac and not from XP. I have yet to find a test machine that runs Vista (off campus), so I'm not sure if the latest version of Windows would change anything. >>> >>> @Steve, I'm using RemoteObject inside of an AS Class. The code I use to set up the RO looks something like this: >>> >>> import mx.rpc.remoting.mxml.RemoteObject; >>> >>> private var updateRO:RemoteObject; >>> updateRO = new RemoteObject(); >>> >>> updateRO.destination = "ColdFusion"; >>> updateRO.endpoint = "http://myserver/flex2gateway/"; >>> updateRO.source = "path.to.remoteObject.UpdateRO"; >>> updateRO.requestTimeout = 120; >>> >>> I then have around 11 eventListeners that prepare for corresponding function calls in the updateRO. They look like the following: >>> >>> updateRO.checkForNew.addEventListener("result",checkForNewHandler); >>> updateRO.checkForNew.addEventListener("fault",newErrorHandler); >>> >>> And then I initiate the process by calling the functions in the updateRO like so: >>> >>> updateRO.checkDBUpdates( updateDate ); >>> >>> This is all very new to me, so any tips would be awesome. Thanks for your replies, and offering up your help! >>> >>> -Scott >>> >>> >>> >> >> |
February 12, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||