I believe one should define any variable with "var" before accessing it. -- With best regards / с наилучшими пожеланиями, Alexei Fedotov / Алексей Федотов, http://dataved.ru/ +7 916 562 8095
On Mon, Aug 6, 2012 at 12:00 PM, Hossein Amiri Parian <[email protected]> wrote: > HI > I tried to Compile OM 2.0 with OL 5.0 but i got a lot off error. Is > there any way to do that? I know that OL 5.0 support rtl text with > hasdirection attribute but is there any trick or patch file to fix rtl > text problem in 4.9? > ======================================== > Compilation Errors > org.openlaszlo.sc.CompilerError: base/remote/rtmpConnection.lzx: 312: > Error: Access of undefined property delegate, in line: > Debug.warn("dataobject is not LzDataset or LzDataElement: ", this, > this.dataobject, delegate) > base/remote/rtmpConnection.lzx: 38: Error: Call to a possibly > undefined method NetConnection, in line: this._nc = new > NetConnection(); > base/remote/rtmpConnection.lzx: 74: Error: Access of undefined > property s, in line: s = 2; > base/remote/rtmpConnection.lzx: 80: Error: Access of undefined > property s, in line: s = 0; > base/remote/rtmpConnection.lzx: 88: Error: Access of undefined > property s, in line: if (s == 2) { > base/remote/rtmpConnection.lzx: 168: Error: Call to a possibly > undefined method ASSetPropFlags, in line: ASSetPropFlags(_global, > null, 8, 1); > base/remote/rtmpConnection.lzx: 168: Error: Access of undefined > property _global, in line: ASSetPropFlags(_global, null, 8, 1); > base/components/text/labelTooltip.lzx: 131: Error: Access of undefined > property flash, in line: this.displacementMap = new > (flash.filters.DropShadowFilter)(); > base/components/text/labelTooltip.lzx: 111: Error: Access of undefined > property flash, in line: this.displacementMap = new > (flash.filters.DropShadowFilter)(); > modules/lzrecordcontent/contentviews/lzRecordingsViewAdapter.lzx: 85: > Error: Incompatible override, in line: override function seek ($0) { > modules/lzrecordcontent/contentviews/lzRecordingsViewAdapter.lzx: 95: > Error: Incompatible override, in line: override function stop () { > main.lzx: 101: Error: Access of undefined property flash, in line: > this.displacementMap = new (flash.filters.DropShadowFilter)(); > base/components/text/customInputtext.lzx: 46: Error: Access of > undefined property System, in line: if > (System.capabilities.os.indexOf("Linux") == -1) { > base/components/text/customInputtext.lzx: 88: Error: Call to a > possibly undefined method eval, in line: var $2 = > eval(Selection.getFocus()); > base/components/text/customInputtext.lzx: 88: Error: Access of > undefined property Selection, in line: var $2 = > eval(Selection.getFocus()); > base/components/text/customInputtext.lzx: 91: Error: Access of > undefined property Selection, in line: var $4 = > Selection.getCaretIndex() - 1; > base/components/lps/colorpicker.lzx: 44: Error: Access of undefined > property _root, in line: var $1 = _root.createEmptyMovieClip("hans2", > 20); > base/components/lps/colorpicker.lzx: 45: Error: Call to a possibly > undefined method Color, in line: var $2 = new Color($1); > modules/chat/chatMiniButton.lzx: 126: Error: Access of undefined > property win, in line: this.parent.sendActiveWindowSynced(this, win) > modules/conference/whiteboard/whiteboardMiniButton.lzx: 124: Error: > Access of undefined property win, in line: > this.parent.sendActiveWindowSynced(this, win) > base/components/text/customEdittext.lzx: 50: Error: Access of > undefined property System, in line: if > (System.capabilities.os.indexOf("Linux") == -1) { > base/components/text/customEdittext.lzx: 92: Error: Call to a possibly > undefined method eval, in line: var $2 = eval(Selection.getFocus()); > base/components/text/customEdittext.lzx: 92: Error: Access of > undefined property Selection, in line: var $2 = > eval(Selection.getFocus()); > base/components/text/customEdittext.lzx: 95: Error: Access of > undefined property Selection, in line: var $4 = > Selection.getCaretIndex() - 1; > base/components/tableListItem.lzx: 24: Error: Access of undefined > property red, in line: var $1 = this.isaltered ? red : white; > base/components/tableListItem.lzx: 24: Error: Access of undefined > property white, in line: var $1 = this.isaltered ? red : white; > charts/styles/styleparser.lzx: 41: Error: Access of undefined property > lParser, in line: lParser = new (lz.styleparser)(this, {defaultstyle: > this.defaultstyle.subnodes[this.increment], style: this.style}) > charts/styles/styleparser.lzx: 43: Error: Access of undefined property > lParser, in line: lParser = new (lz.styleparser)(this, {defaultstyle: > this.defaultstyle.subnodes[this.increment], style: > this.style[this.defaultstyle.name]}) > charts/styles/styleparser.lzx: 49: Error: Access of undefined property > lParser, in line: lParser = new (lz.styleparser)(this, {defaultstyle: > this.defaultstyle.subnodes[this.increment], style: > this.style[this.defaultstyle.subnodes[this.increment].name]}) > charts/common/virtualdrawview.lzx: 85: Error: Incompatible override, > in line: override function moveTo ($0, $1) { > charts/common/virtualdrawview.lzx: 93: Error: Incompatible override, > in line: override function lineTo ($0, $1) { > charts/common/virtualdrawview.lzx: 101: Error: Incompatible override, > in line: override function quadraticCurveTo ($0, $1, $2, $3) { > base/components/panel/panelBoundBox.lzx: 72: Error: Access of possibly > undefined property linearTween through a reference with static type > Class, in line: Math.linearTween = function ($0, $1, $2, $3) { > base/components/panel/panelBoundBox.lzx: 87: Error: Call to a possibly > undefined method linearTween through a reference with static type > Class, in line: var $f = Math.linearTween($e, $9, $7 - $9, $c); > base/components/panel/panelBoundBox.lzx: 88: Error: Call to a possibly > undefined method linearTween through a reference with static type > Class, in line: var $g = Math.linearTween($e, $a, $8 - $a, $c); > base/components/panel/panelBoundBox.lzx: 96: Error: Access of > undefined property csx, in line: $0.moveTo(csx, csy); > base/components/panel/panelBoundBox.lzx: 96: Error: Access of > undefined property csy, in line: $0.moveTo(csx, csy); > base/components/panel/panelBoundBox.lzx: 100: Error: Access of > undefined property csx, in line: csx = $f; > base/components/panel/panelBoundBox.lzx: 101: Error: Access of > undefined property csy, in line: csy = $g > charts/styles/strokestyle.lzx: 61: Error: Access of undefined property > xinc1, in line: xinc1 = 1; > charts/styles/strokestyle.lzx: 62: Error: Access of undefined property > xinc2, in line: xinc2 = 1 > charts/styles/strokestyle.lzx: 64: Error: Access of undefined property > xinc1, in line: xinc1 = -1; > charts/styles/strokestyle.lzx: 65: Error: Access of undefined property > xinc2, in line: xinc2 = -1 > charts/styles/strokestyle.lzx: 69: Error: Access of undefined property > yinc1, in line: yinc1 = 1; > charts/styles/strokestyle.lzx: 70: Error: Access of undefined property > yinc2, in line: yinc2 = 1 > charts/styles/strokestyle.lzx: 72: Error: Access of undefined property > yinc1, in line: yinc1 = -1; > charts/styles/strokestyle.lzx: 73: Error: Access of undefined property > yinc2, in line: yinc2 = -1 > charts/styles/strokestyle.lzx: 77: Error: Access of undefined property > xinc1, in line: xinc1 = 0; > charts/styles/strokestyle.lzx: 78: Error: Access of undefined property > yinc2, in line: yinc2 = 0; > .... more than 50 errors, additional errors not shown.
