House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Newbie (CF-Newbie)

Flex 3 0 - Remote Object - CFCs

Author:
Paul Kukiel
05/30/2009 10:12 AM

Without CF running locally its really hard to test.  I think most   Flex/CF dev's are running CF locally then move to production. Do you have access to mapping on the server?  I would start simple by   placing a simple cfc that returns a string into the root and try call   that from flex and retrun a string once you get the setup I would   request a mapping so you can package your cfcs. The source attribute on the remote object is the path to the cfc   following mappings in Johns example.  ie com.company.user is mapped   to the com mapping /company/user.cfc this is not the only way but its   my preferred way. I think with Flex 3 to convert the server type you may need to   recreate the project as it imports some extra information and just   move the file across from the old project. If you get page cannot be found then you will have to ask then to   turn on remoting hopefully they will. Paul. On 30/05/2009, at 9:53 AM, James Thompson wrote: > > Paul, > I did not select Coldfusion. I can go back and adjust that. I do   > not have > Coldfusion running locally. I would like to avoid that since the   > Coldfusion > server I will be using isn't local. > Does the project need to be in the same directory path as my CFC? I   > tested > to see if the flash remoting was turned on. I was given a 'Page   > Can't Be > Found' so I guess I need to contact them to have the remoting   > turned on. > > > >> >> Hi James, >> >> When you created teh project did you select the Application type as >> coldfusion?.  This adds some extra compiler arguments where the >> ColdFusion destination is read from. >> >> Do you also have ColdFusion running locally? >> >> Paul. >> >> >> On 30/05/2009, at 9:47 AM, James Thompson wrote: >> >>> >>> Hey John, >>> That example did not work for me. Let's see if I can give you more >>> info >>> about the project. >>> I am developing on my local machine with Flex Builder 3.0. My CFC >>> resides on >>> a remote server. I am trying to call methods on that CFC and use >>> the data in >>> my Flex project. >>> I am getting an error that the destination 'Coldfusion' does not >>> exist or >>> does not have channels configured. Is that something I need to have >>> the >>> hosting company look into? >>> Is that a Coldfusion issue or a  Flex issue? >>> >>> Thanks >>> >>> >>> >>>> >>>> Hi James, >>>> Is this what you are looking for? >>>> This method does work on a shared server. >>>> >>>> Check out my blog post: >>>> http://blog.meleana.info/?p=196 >>>> >>>> >>>> >>>> >>>> >>> >>> >> >> > >


Search cf-newbie

March 22, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31