Index: lams_flash/src/central/flash/main2.as =================================================================== RCS file: /usr/local/cvsroot/lams_flash/src/central/flash/main2.as,v diff -u -r1.2 -r1.3 --- lams_flash/src/central/flash/main2.as 16 Oct 2008 06:27:04 -0000 1.2 +++ lams_flash/src/central/flash/main2.as 19 Oct 2008 23:24:06 -0000 1.3 @@ -3,10 +3,13 @@ import com.macromedia.javascript.JavaScriptProxy; import org.lamsfoundation.lams.common.util.Debugger; -//Temp values to be removed / repplaced at deployment -/**/ +// Temp values to be removed / repplaced at deployment _global.myRoot = this; +if(StringUtils.isEmpty(lcId)){ + Debugger.log('lcId is not defined, actionscript will not be able to communicate with javascript',Debugger.CRITICAL,'main','ROOT'); +} + if(StringUtils.isEmpty(presenceServerUrl)){ _root.presenceServerUrl = "192.168.1.1"; Debugger.log('presenceServerUrl is not defined, using defualt:'+_root.presenceServerUrl ,Debugger.CRITICAL,'main','ROOT');