Thanks Doug, I was just catching up on
this thread and was about to post this very point. It is VERY important to
understand this requirement when building Flex SWFs – you must introduce
a dependency on the ActionScript class that has a RemoteClass relationship to a
CFC so that the compiler links in the class when building the SWF. Also note
that the [RemoteClass] metadata does more than simply call flash.net.registerClassAlias
for your class – it ensures that the class is initialized and that this
alias registration happens statically before the Flex application is finished
initializing. This is important because all of this must happen before any RemoteObject
calls are made to the ColdFusion server. Also, I saw someone mention that the
properties have to be in the same order... I don’t believe this is a
requirement. Pete From: then the mapping ain't happening, eh? Somewhere
in your code you have to have at least one instance of your AS class On 9/24/06, Paul
Hastings <paul.hastings@ On 9/24/06, Douglas
Knudsen <douglasknudsen@
-- 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
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 __,_._,___ |
- RE: [flexcoders] Re: Going Bananas, CFC to AS3 Class Mappi... Peter Farland
- RE: [flexcoders] Re: Going Bananas, CFC to AS3 Class ... João Fernandes