1 Reply Latest reply on Mar 21, 2007 7:13 AM by darkfrog26

    Bug in Flex

    darkfrog26
      TypeError: Error #1007: Instantiation attempted on a non-constructor.
      at mx.managers::CursorManagerImpl/::showCurrentCursor()
      at mx.managers::CursorManagerImpl/removeCursor()
      at mx.managers::CursorManager$/removeCursor()
      at mx.containers::DividedBox/ http://www.adobe.com/2006/flex/mx/internal::restoreCursor()
      at mx.containers.dividedBoxClasses::BoxDivider/::mouseOutHandler()

      Oddly, this is occurring when I mouseOver the divider on a DividedBox after using the PopUpManager to display a TitleWindow. However, if I mouseOver before I display the TitleWindow then I can go ahead and popup the TitleWindow and then I can mouse over the divider without problems. It would seem there's a strange bug in the CursorManager causing it to error in relation to not-preloading the the cursor before popping up a window?
        • 1. Re: Bug in Flex
          darkfrog26 Level 1
          Ugh...I was able to make it work with a hack. I added an event listener to creationComplete on Application that displays the busy cursor, then I added an event to effectEnd for my page fade-in to remove the busy cursor....that seems to make it be happy. It stinks that I'm having to use this work-around, but at least the hack actually makes it look a little prettier. ;)