mx Alert.Show in a different window
hi everybody, i'm developing simple application in flex (using air, it's desktop application). , i've got problem showing messages user.
you'll see, have main window (mx:windowedapplication) has button calls window (mx:window). in second window want show message.
when write code in second window:
alert.show("mymessage","mytittle");
the alert pop-up appears in first one, that's sat, in main application. , that's not supposed happen.
i've tried writing this.
alert.show("mymessage","mytittle",4, sprite);
and works perfectly!... throws error when executing app.
remember, code in second window. so, i've got no idea why keeps appearing in first one.
thank , apologize english it's not first language! bye!
instead of using alert, try using popupmanager display component extends iflexdisplayobject. takes 30 secs write 1 mimmicks alert, , don't these problems.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment