Flex3 弹出窗口问题

奮鬥_旭 2015-03-24 04:05:46
private function openWindow(window:IBbbModuleWindow):void{				
var event:OpenWindowEvent = new OpenWindowEvent(OpenWindowEvent.OPEN_WINDOW_EVENT);
event.window = window;
globalDispatcher.dispatchEvent(event);
}


OpenWindowEvent.as
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);
}

}
}


这是个弹出窗口,如何修改将该窗口直接放到一个Tab里面如下图
谢谢
...全文
391 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

4,328

社区成员

发帖
与我相关
我的任务
社区描述
多媒体/设计 Flex
社区管理员
  • Flex
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧