Jeffry, Thank you so much for the response to the last question, which worked awesome with some tweaking to the services-config file which I have saved in the src folder and edit locally prior to building.

If anyone else is helped by this here's what I did
1) send this into the flex compiler args in the projects properties:
        -services "services-config.xml"
2) change all amf related definitions in my services-config.xml file that I have saved locally into the same directory as my other source files to resesmble: <channel-definition id="my-cfamf" class="mx.messaging.channels.AMFChannel"> <endpoint uri="http://www.mydomain.com:80/flex2gateway/"; class="flex.messaging.endpoints.AMFEndpoint"/>

Sure it's not secure yet... but I'll look at that next. If anyone has any quick suggestions on sending over credentials and validating them in a CF Service I'd be grateful for them!

Scott


On Dec 28, 2007, at 12:13 PM, Jeffry Houser wrote:


 You probably need to create a new services-config file with a hard
coded URL to the flex2gateway.
 I suspect (but haven't tested) that you need a cross domain file in
the root of your server for Flash to access it.

Scott Mulder wrote:


I currently have a perfectly working RemoteObject on my shared hosting
server (where I can’t install my own server level stuff).  After much
messing around with the complier arguments it now connects just fine to
the standard /flex2gateway/ pointer and a ColdFusion Service which
returns native AMF binary objects so it’s nice and fast.  I am now
trying to set up an AIR app that connects to the same CF Service and
gets all of the same data in the local app where it is stored offline in
an SQLlite DB and synced on changes.



Any suggestions on how to get the same connection working when the app
runs locally?



Thanks in advance!


Scott


--
Jeffry Houser, Technical Entrepreneur, Software Developer, Author,
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: <http://www.dot-com-it.com>
My Podcast: <http://www.theflexshow.com>
My Blog: <http://www.jeffryhouser.com>



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links




Reply via email to