Re: [flexcoders] Flex Flash Remoting Question

2006-04-15 Thread Faisal Abid
Thank You That Clears Up Everything, Thank You So Much :)

Simeon Bateman wrote:
 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] 
 mailto:[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

 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]

 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 




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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Flex Flash Remoting Question

2006-04-14 Thread Faisal Abid
these are 2 newbie questions but im just getting started with remoteobject
When i do this in my mxml document

mx:RemoteObject
id=myCfc
destination=ColdFusion
source=myApplication.components.User/

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Flex Flash Remoting Question

2006-04-14 Thread Simeon Bateman



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.userServiceWhere 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.simeonOn 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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.