4,328
社区成员
发帖
与我相关
我的任务
分享
private function openWindow(window:IBbbModuleWindow):void{
var event:OpenWindowEvent = new OpenWindowEvent(OpenWindowEvent.OPEN_WINDOW_EVENT);
event.window = window;
globalDispatcher.dispatchEvent(event);
}
package org.bigbluebutton.common.events
{
import flash.events.Event;
import org.bigbluebutton.common.IBbbModuleWindow;
/**
* Dispatch this event with your IBbbModuleWindow instance attached to add the MDIWindow to the main canvas area of bbb-client.
*
*/
public class OpenWindowEvent extends Event
{
/**
* The MDIWindow instance to show on the main canvas
*/
public var window:IBbbModuleWindow;
public static const OPEN_WINDOW_EVENT:String = 'OPEN_WINDOW_EVENT';
/*public function OpenWindowEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
{
super(type, bubbles, cancelable);
}*/
public function OpenWindowEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
{
super(type, bubbles, cancelable);
}
}
}