That alias biz has got me b4 as well...
Dont be to hard on yourself :)
 
Regards,
 
Bjorn Schultheiss


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner
Sent: Thursday, 5 October 2006 4:15 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] does the CFC/AS namespace path have to match?

Solution:  Make sure you're RemoteClass alias definition inside the AS Class is correct... doh!

Sorry to waste the groups time :-(


Brendan



On 10/4/06, Brendan Meutzner <[EMAIL PROTECTED]com> wrote:
My question wasn't regarding the ability to pass functions back... sorry for not being clear.  My question is whether or not the location of the AS file has to match the location of a CFC file for the namespace path for AS Classes and CF CFC types.  When I pass an Object of type com.objects.Object1, it seems that CF is looking for the CFC type at com.objects.Object1 even if I have the type set to a different location (com.cfcobjects.Object1 for example).  I get an error stating:

Could not find the ColdFusion Component com.objects.Object1 : Please check that the given name is correct and that the component exists.


Thanks,

Brendan



On 10/4/06, João Fernandes <joaopedromartinsfer[EMAIL PROTECTED]com> wrote:

Exactly, only properties are translated between AS3/CFC.

 

João Fernandes

 


From: [EMAIL PROTECTED]ups.com [mailto: [EMAIL PROTECTED] ups.com] On Behalf Of Bjorn Schultheiss


Sent: quarta-feira, 4 de Outubro de 2006 5:38
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] does the CFC/AS namespace path have to match?

 

As far as i know CF cant handle AS functions as it has no way of processing the logic (dont quote me).

I know that in Java all getters and setters are evaluated to primitive members.

 

In other words you can not pass a Function through remoting, i think :)

 

Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies

 

 


From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Brendan Meutzner
Sent: Wednesday, 4 October 2006 9:39 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] does the CFC/AS namespace path have to match?

Hi,

It seems that even when I type my cffunction argument inside my CFC, it looks for the object definition in the same location the AS object is placed... but they're not in my case.

Eg.

AS file

import com.blah.blah1.blah2.theDataStructure;
delegate.insertFunction(event.theDataInstance as theDataStructure);

CFC
<cfargument name="theDataInstance" type=" com.blah.blah1.blah2.blah3.theDataStructure" />

Gives me an error message from CF saying it can't find "com.blah.blah1.blah2.theDataStructure" even though I'm typing it as com.blah.blah1.blah2.blah3.theDataStructure

Is this the case?


Brendan



__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to