You can't show one instance many times. You will have to create as many
instances as you need windows.
private function createWindow(message:String):void
{
var win:BasicWindow = new BasicWindow();
win.showText = message;
win.open();
}
You will have to manage all the instances created.
I think he means re-opening the window after a user closes it?
Is that the case Mark?
If so keep a reference to your window instance and call open on it via a
button as you already do,...
If you want multiple windows, change :
private var win:BasicWindow = new BasicWindow();
to:
private var
Hi,
I have a component file.
BasicWindow.mxml
?xml version=1.0 encoding=utf-8?
mx:Window xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute width=300 height=200
mx:Script
![CDATA[
[Bindable]
public var showText:String;
3 matches
Mail list logo