2 Replies Latest reply on Oct 29, 2009 10:09 AM by Marty K Henderson

    setStyle method deprecated in FB4 beta 2?

    Marty K Henderson

      Hi,

      I've recently (been forced to..) move from fb4 beta 1 to beta 2.

      The project I've been working on no longer compiles in beta 2 it seems.  The error is that the setStyle method is undefined on the INavigatorContent interface.  This worked fine with beta 1.

       

      Basically, I'm extending a ViewStack and want to set a style on the selectedChild. Kinda like so:  this.selectedChild.setStyle("hideEffect", hideEffect);

       

      How can this be worked around?  Do I need to cast specifically to the underlying objects or something?

       

      Thanks

       

      Marty