ColdFusion 8: Mappings
One common issue when CFers start using Flex with remoting is when they store cfcs somewhere else than the webroot and create a mapping.
The flex application will start complaining that the CFC or interface could not be found.
To fix this, you just need to change the property
In my opinion this should be set to true by default since when connecting to LCDS it will always use any mappings set in the admin.
If you enable and use cf-rtmp channel for your data-management destinations, you should be aware that the CF server will try to find your components only under the ColdFusion webroot. This is because through rtmp, CF is not aware where your webserver webroot folder is stored.
You can fix this easily by adding a mapping under the administrator to point to the right direction.


There aren't much tutorials regarding cf+flex integration but you can always take a look to http://www.cflex.net . If you have any specific problem and would like to see it covered, just send me an email to joaopedromartinsfernandes [youKnowWhatToPutHere ] gmail.com
Looks something like this:
<virtual-mapping>
<resource-path>/services/*</resource-path>
<system-path>D:/services</system-path>
</virtual-mapping>
All my cfc's go in subfolders in D:/services. Never had any problems with that approach.
that will also work. I mentioned the most common way of doing it, not the only way :)
great.
At a same time Opera 9 and IE6 are getting this strange error:
FaultCode: Client.Error.MessageSend
FaultString: "Send failed"
NetConnection.Call.Failed: HTTP:Failed:url:'http://aregak.beforego.info:80/flex2gateway'"
Did you face a problem like this?
Thanks,
Mika
Andrzej Filipowicz
http://www.andrzejfilipowicz.com
Still life Artist, still life art
http://life.e-phils.com/
STILL LIFE PAINTING
Any ideas?
Thanks,
Mike