Finally, I have been totally successful in getting all my values from
my CFC to automatically fill their respective properties in my AS
class(es). Thank you to all for that.

But, an interesting problem has arisen from it... and I think it has
something to do with the sequence in which Flex processes the data.

(I have refactored this description for simplicity)

I use Cairngorm. So, in the ModelLocator I define a property named
myClassInstance that gives me access to it from the views.

ModeLocator.getInstance().myClassInstance;

When I return my CFC results to the result handler in my command, i.e.
'onResult' - I can set the myClassInstance and trace out all the
values exactly as expected. So I know everything is going right where
it should.

Now, when I try and retrieve that value from the view, I get a null
pointer exception.

How can it trace() right in one place but then become null in another?








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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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



Reply via email to