After reading through Oriol's thread, I'm assuming the change required would be the following:
public function getView(workflowState:Number):Container instead of UIComponent. It will then compile and adhere to the strict type checking. Regards, Sof --- In flexcoders@yahoogroups.com, William Lambé <[EMAIL PROTECTED]> wrote: > > Thank you very much, as you can guess I am new to the mailing list. Viva > Flex 2.0 > > > > _____ > > De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la > part de Oriol Gual > Envoyé : jeudi 23 mars 2006 20:04 > À : flexcoders@yahoogroups.com > Objet : Re: [flexcoders] CairngormLogin sample on Flex 2.0 beta 2 > > > > Hi William, > > I asked the same thing few posts earlier, just look for "Cairngorm beta > release?" or click > <http://www.mail-archive.com/flexcoders@yahoogroups.com/msg23142.html> here > > Oriol. > > 2006/3/23, William Lambé <[EMAIL PROTECTED]>: > > Hello everybody, > > > > I am trying to use Cairngorm 2.0 with the new Flex 2.0 beta 2. And for > that, I am trying to run the CairngormLogin sample. I changed some things > that happen between beta 1 and beta 2 of Flex 2.0, but I have still a > Problem : > > > > To the line « <mx:ViewStack id="appView" selectedChild="{ getView( > model.workflowState ) }"> » in CairngormLogin.mxml, I have this problem : > > > > « Implicit coercion of a value with static type 'mx.core :UIComponent' to a > possibly unrelated type 'mx.core :Container' » > > > > Is someone can explain to me what does it mean ? > > > > William. > > > > -- > 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 > <http://groups.yahoo.com/group/flexcoders> " on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms > <http://docs.yahoo.com/info/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 > <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site > +design+development&w2=Computer+software+development&w3=Software+design+and+ > development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1 > 66&.sig=L-4QTvxB_quFDtMyhrQaHQ> site design development > > Computer > <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+si > te+design+development&w2=Computer+software+development&w3=Software+design+an > d+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s > =166&.sig=lvQjSRfQDfWudJSe1lLjHw> software development > > Software > <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+ > site+design+development&w2=Computer+software+development&w3=Software+design+ > and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5 > &s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ> design and development > > > Macromedia > <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+deve > lopment&w2=Computer+software+development&w3=Software+design+and+development& > w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6n > PIrz7_EpZI36cYzBjw> flex > > Software > <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=W > eb+site+design+development&w2=Computer+software+development&w3=Software+desi > gn+and+development&w4=Macromedia+flex&w5=Software+development+best+practice& > c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw> development best practice > > > > > > _____ > > YAHOO! GROUPS LINKS > > > > * Visit your group "flexcoders > <http://groups.yahoo.com/group/flexcoders> " on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! > <http://docs.yahoo.com/info/terms/> 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 Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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/