Hi Faisal,

In the code you posted the "id" is the name you reference the remote object by in AS.  so you could call methods on your remote cfc by mycfc.cfFunctionName().

The source attribute is the path from the webroot to your cfc.  Remember to use the package notation to specify this. An example could be

source="appname.remote.userService"

Where userService.cfc is in a folder called "remote" in side a folder called "appname".  The appname folder would be at the root of your site.  Of course you could also just have your cfc in the root of the site and not use any folders :)

Hope that helps you get on the path.

simeon


On 4/14/06, Faisal Abid <[EMAIL PROTECTED]> wrote:

What does ID mean ? Does it mean the file name of the cfc eg myCFC.cfc
or is it just a name give to the RemoteObject Call?

Also what does the source="" mean, like what exatly do i have to put
there if my cfc is in the folder [webroot]/coldfusion/get_posts.cfc?




--
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