0 Replies Latest reply on May 24, 2012 11:41 AM by Fygo

    FB 4.5 and UIScrollBar

    Fygo

      Hi everybody,

       

      I am working on a project: I have a FLA file set to publish for AIR 2.6 with all the assets inside. I've set up a Flash Professional Project in FB 4.5.

       

      The problem is that I have a UIScrollBar in the FLA file. If I try to retrieve this object from a class file within FB, it is not recognized. I can still publish the file within flash without problems but the errors in FB are not nice and I miss the code hinting. I get errors like:

       

      1046: Type was not found or was not a compile-time constant: UIScrollBar.

      1172: Definition fl.controls:UIScrollBar could not be found.

       

      Is this because FB is using the 4.5.1 Flex SDK and not the 2.6 AIR SDK? Is there a way to set this correctly?

       

      Thank you!

      F.