Adobe Air: scroller throws error when changes focus between different applications

前端 未结 4 1538
梦毁少年i
梦毁少年i 2021-01-21 06:04
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at spark.components::Scroller/focusInHandler()[E:\\dev\\4.y\\frameworks\\proje         


        
4条回答
  •  暖寄归人
    2021-01-21 06:44

    I ran into the same issue, and the root cause was that PopUpManager/PopUpAnchor would not properly set the focusManager if the component being popped up does not implement the IFocusManagerContainer interface. After implementing such interface, the problem goes away.

提交回复
热议问题