Stage.scaleMode = StageScaleMode.NO_SCALE īounds = new Rectangle(owner.x + owner.width - (owner.width / 2) - 125, owner.y + owner.height - (owner.height / 2) - 75, 250, 150) InitOptions.type = NativeWindowType.UTILITY Var initOptions:NativeWindowInitOptions = new NativeWindowInitOptions() Public function AlertWindow(owningWindow:NativeWindow, windowTitle:String) Public class AlertWindow extends NativeWindow This is a simple generalized version of one that I made for one of my apps: package You'll have to make your own alert box, either by making NativeWindow instance and editing it, or (what I would recommend) making your own custom class that extends NativeWindow.
0 Comments
Leave a Reply. |