import flash.display.*; if ($debug) Debug.write("onframe",i); if (mc) { mc.gotoAndStop(i); } ////Debug.write("onplay",i); ////Debug.write("onstop",i); if ($debug) Debug.write("onwidth ",w); mc.width = w; if ($debug) Debug.write("onheight ",h); mc.height = h; doShowObjectBounds MOD "); this.initialLoadFullFit(); this.parent.refObj.doShowObjectBounds(this.parent.name); this.parent.refObj.doUpdateDocumentToolBar(); } else { //this code is invoked when any participants syncronizes and loads the document //because a Moderator has loaded it if ($debug) Debug.write("==> doShowObjectBounds Participant "); this.initialLoadFullFit(); this.parent.refObj.sendLoadNotificationSWF(this.parent); this.parent.refObj.doUpdateDocumentToolBarByParticipant(this.parent.name); } if ($debug) Debug.write("swf loaded -2- ",this.parent.refObj.isWmlLoaderImage); if (this.parent.refObj.isWmlLoaderImage){ if ($debug) Debug.write("swf loaded ",this.parent.innerwidth,this.parent.innerheight); if (this.parent.innerwidth != 0 && this.parent.innerheight != 0) { this.setAttribute('width',this.parent.innerwidth); this.setAttribute('height',this.parent.innerheight); this.setAttribute('x',this.parent.innerx); this.setAttribute('y',this.parent.innery); } this.parent.currentzoomFactor = this.parent.currentzoom; } this.parent.refObj.layers.push(this.parent); this.doSendChangeValue = true; ]]>