Just one more point, I've tried the Cairngorm login example, and after changing the namespaces to http://www.adobe.com/2006/mxml, I can compile but I get this error:

Implicit coercion of a value with static type ' mx.core:UIComponent' to a possibly unrelated type 'mx.core:Container' in line 68, which is:

<mx:ViewStack id="appView" selectedChild="{ getView( model.workflowState ) }">

If look at it, and viewstack has no selectedChild propertie, so if I change it to: selectedIndex="{ model.workflowState }" it works. My question is, how should it be if I want to return a view instead of an int?

Thanks,

Oriol.


--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to