Re: [flexcoders] Cairgnorm beta release?
Hi Alex, Like you said, there still is a selectedChild property on ViewStack component, but, then there is a bug in flexbuilder 2 beta 2, because when you start typing the only suggestion you get is selectedIndex. 2006/3/23, Alex Uhlmann [EMAIL PROTECTED]: Hi Oriol, There is still a selectedChild property on ViewStack. The only thingyou need to do is type stronger. UIComponent is the base class of Container but Containter goes into aViewStack. Beta 2 is stricter here. In addition to that, I wouldn't recommend yourworkaround using the Number inthe workflow statevariable . As soon asyou'll add another workflow type variable to ModelLocator,you would need new state variable values, which could not map to ViewStack::selectedIndex anymore. Best, Alex Alex UhlmannConsultant (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: 44 (0) 131 338 6969 m: 44 (0)7917 428 951[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Oriol GualSent: 21 March 2006 20:16To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairgnorm beta release? 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 YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Cairgnorm beta release?
Hi Oriol, There is still a selectedChild property on ViewStack. The only thingyou need to do is type stronger. UIComponent is the base class of Container but Containter goes into aViewStack.Beta 2 is stricter here. In addition to that, I wouldn't recommend yourworkaround using the Number inthe workflow statevariable. As soon asyou'll add another workflow type variable to ModelLocator,you would need new state variable values, which could not map to ViewStack::selectedIndex anymore. Best, Alex Alex UhlmannConsultant (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: 44 (0) 131 338 6969 m: 44 (0)7917 428 951[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Oriol GualSent: 21 March 2006 20:16To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairgnorm beta release? 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Cairgnorm beta release?
Nope, keep using the same one you have for Flex 2, its the same. Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Oriol GualSent: Tuesday, March 21, 2006 11:08 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Cairgnorm beta release? Hello,Now that beta 2 has been released I wonder if there will be also a Cairngorm beta release?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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Cairgnorm beta release?
Oriol, Actually, the version of beta 2 that you have is still good to go with Cairngorm ... nothing changes. We do have some more sample applications coming at you imminently, but the beta 2 will continue to work with the Cairngorm build you have. Best wishes, Steven Steven WebsterPractice Director (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0)7917 428 947[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Oriol GualSent: 21 March 2006 16:08To: flexcoders@yahoogroups.comSubject: [flexcoders] Cairgnorm beta release? Hello,Now that beta 2 has been released I wonder if there will be also a Cairngorm beta release?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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Cairgnorm beta release?
Ok, good to know that! -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Cairgnorm beta release?
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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.