View Full Version : Ext's Standard Yes/No dialog in Adobe Air...
I know this must be a complete newb question, but for some reason I can't seem to figure it out.
How do I implement the examples here (http://extjs.com/deploy/dev/examples/message-box/msg-box.html) into an adobe air application?
The Standard Yes/No dialog is the one I'm mostly interested in using.
I'm using Aptana to create the application.
Thanks
Shannon
digitalkaoz
3 Nov 2008, 1:52 AM
just like you implement it in normal web-apps...but it will only show up in an existing air window...not as native dialog.
just like you implement it in normal web-apps...but it will only show up in an existing air window...not as native dialog.
Thanks for the reply. That's what I thought, but it doesn't seem to be working. I'll have to build a new project just to play around with it to see if I can get it to work. Could be conflicting with something else.
Shannon
digitalkaoz
3 Nov 2008, 5:09 AM
Ext.Msg.show({
title: 'Success',
msg: "foo",
buttons: Ext.Msg.OK,
icon: Ext.MessageBox.INFO
});
wont work?
Nope, didn't work. I even created a new working application that uses the preinstalled ext samples that came with aptana. The samples works (resizing images, etc), but the ones above don't work.
Any ideas?
OMG...
I can't believe it's this hard to implement the yes/no example. Seriously guys, this is driving me nuts.
Is it possible to implement the above examples in adobe air? If it's not possible, I won't waste my time anymore.
If it's not possible, do anyone know where I can find an example of this type of alert/confirmation window that DOES work in adobe air?
Much appreciated,
Shannon
digitalkaoz
3 Nov 2008, 10:51 PM
show us your code
RobSmith
5 Nov 2008, 6:30 AM
Ext.Msg.show({
title: 'Success',
msg: "foo",
buttons: Ext.Msg.YESNO,
icon: Ext.MessageBox.INFO
});
Works perfectly for me!
aconran
26 Nov 2008, 12:29 PM
Take a look at the helloworld application which was bundled with the latest release of Ext.air.
It uses Ext.MessageBox to show an alert. You can easily change this alert to a confirm dialog.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.