Flex4之彈出對話方塊

2021-06-01 20:29:05 字數 534 閱讀 7060

有時為了顯示方便,我們會做出乙個彈出對話方塊,這個對話方塊可以向上一級傳遞你選擇的資料。

這些資料也可以全域性以拱使用。

下面我附上**:

private var panel:panel;

public var label:label=new label();

public var combo:combobox=new combobox();

public var okbutton:button=new button();

public var exitbutton:button=new button();

public var value:string;

private function init():void

private function selectcombovaluefun(evt:mouseevent):void

private function createpopup():void

這樣就可以彈出對話方塊了.

彈出對話方塊

先定義 private view view private alertdialog mprotocoldialog 彈出對話方塊 private void loadprotocol mprotocoldialog new alertdialog.builder this settitle getst...

彈出對話方塊

call function popup to confirm exporting titlebar diagnose object text question anything else?text button 1 yes?icon button 1 15 text button 2 no 002 ...

彈出對話方塊

data answer 20 type c.call function popup to confirm exporting titlebar diagnose object text question anything else?text button 1 yes?icon button 1 15...