diff --git a/bigbluebutton-client/src/DeskshareStandalone.mxml b/bigbluebutton-client/src/DeskshareStandalone.mxml index 243c7e8ea49e06aff96c25d80b18ee4d7906cb47..d130197f5f3900b29fea82256432f00987c7e39a 100755 --- a/bigbluebutton-client/src/DeskshareStandalone.mxml +++ b/bigbluebutton-client/src/DeskshareStandalone.mxml @@ -110,7 +110,8 @@ } } - private function onUpdateCursorEvent(event:CursorEvent):void { + private function onUpdateCursorEvent(event:CursorEvent):void { + if (cursor == null) return; cursor.x = ((event.x/video.videoWidth)) * videoHolder.width; cursor.y = ((event.y/video.videoHeight)) * videoHolder.height; cursor.visible = true;