Merge r665

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@666 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
Richard Alam 2008-11-05 15:53:07 +00:00
parent e1a9c53c01
commit 4d3304418d

View File

@ -163,7 +163,7 @@ package org.bigbluebutton.modules.presentation.view
case PresentModuleConstants.DISPLAY_SLIDE:
var slidenum:int = notification.getBody() as int;
trace('DISPLAY_SLIDE in PresentationWindowMediator ' + slidenum);
if ((slidenum >= 0) && (slidenum < _presWin.slideView.slides.length)) {
if ((_presWin.slideView.slides != null) && (slidenum >= 0) && (slidenum < _presWin.slideView.slides.length)) {
_presWin.slideView.selectedSlide = slidenum;
_presWin.slideNumLbl.text = (slidenum + 1) + " of " + _presWin.slideView.slides.length;
}