The AS file's remoteobject metadata should have alias point to the CFC
using full dot-path notation.  The alias attribute on the CFC is not
required, but would be this same path.  You don't specify the path to
your AS object anywhere, would kind of defeat a few things that.
would, eh?

http://www.jeffryhouser.com/index.cfm/2007/10/9/Why-does-ColdFusion-return-a-CFC-to-Flex-as-a-generic-object
 :)  See Tom's comments there....BTW, your site is appears to be down
currently Jeff.

DK

On Tue, Jun 24, 2008 at 4:39 PM, Jeffry Houser <[EMAIL PROTECTED]> wrote:
>
> Was there a problem you were having with setting the aliases that you'd
> like to share?
>
> In the CFC your alias will be vo.VO
> In the AS file the alias will be components.VO
>
> Keep the paths case sensitive.
>
> holmgren.eric wrote:
>> I guess I may be a little confused about how the aliases are supposed
>> to work then. Take the following example:
>>
>> In flex builder I have a project named "Test" with the following
>> hierarchy that's set to run from wwwroot/Test-debug/ on the local CF
>> server ...
>>
>> + Test
>> + bin-debug
>> + html-template
>> + libs
>> + src
>> main.mxml
>> + vo
>> VO.as
>>
>> On the ColdFusion side I have a folder in wwwroot with my components ...
>>
>> + wwwroot
>> + components
>> VO.cfc
>>
>> How should I set the aliases in Flex and CF when they don't share the
>> same path?
>>
>> Thanks,
>>
>> Eric
>>
>>
>>
>> ------------------------------------
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Search Archives:
>> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>>
>>
>>
>>
>>
>
> --
> Jeffry Houser
> Flex, ColdFusion, AIR
> AIM: Reboog711 | Phone: 1-203-379-0773
> --
> Adobe Community Expert
> <http://www.adobe.com/communities/experts/members/JeffryHouser.html>
> My Company: <http://www.dot-com-it.com>
> My Podcast: <http://www.theflexshow.com>
> My Blog: <http://www.jeffryhouser.com>
>
> 



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?

Reply via email to