0 Replies Latest reply on May 14, 2010 11:56 AM by swyna052

    fl.* components not displaying correctly, getting error 2007 and 1009. help me please


      Hi guys,


      I am trying to make my application use Flash components, but I have a problem with displaying them correctly. I've used Flash CS5 to export them into .SWC. In Flex it seems that their graphics doesn't load, and below is a screenshot how it looks with a Button and UILoader. I couldn't find any solution, as I've searched other forums.


      And also I've selected all flash components to be included in the .SWC library, but almost half of them is missing when I include the file in Flex. Is maybe some catalog corrupted or is it an issue with Flash CS5? I hope somebody can help please!


      I when I try to use the .SWC in in Flash I get this:


      TypeError: Error #1009: Cannot access a property or method of a null object reference.

      at fl.containers::ScrollPane/drawBackground()

      at fl.containers::ScrollPane/draw()

      at fl.core::UIComponent/callLaterDispatcher()

      TypeError: Error #2007: Parameter child must be non-null.

      at flash.display::DisplayObjectContainer/addChildAt()

      at fl.controls::BaseButton/drawBackground()

      at fl.controls::BaseButton/draw()

      at fl.core::UIComponent/drawNow()

      at fl.controls::ScrollBar/draw()

      at fl.core::UIComponent/callLaterDispatcher()