21 Mar 2009 10:19 AM #1
New full animated Toast/Notify
i'm from germany and my english is bad
i have created a first Test of a new Toast/Notify Component.
Now it's a quick and dirty Test, but it works
This 'tool' is running with Ext.ux.MessageWindow extension.
I think a little bit of teamwork an it could be a nice Adobe Air Extension.
Here is the Example:
Air Application: NotificationTest.air
Project files: NotificationTest.rar
This code have a few of bugs/problems, there i hope to solve by teamwork.
- the transparent window must be resize dynamically
- the listener to close the transparent window and disconnect the connection threw both windows must be extend to NotificationManager (if more than one message are shown)
Here a Screenshot:
Feedback, tips and solutions are welcome
Edit #1: add in main.html after win.show(); the following line to set AlwaysOnFront.
win.getNative().alwaysInFront = true;
26 Mar 2009 8:30 AM #2
Nice work, I think this should be in the Ext.air library by default.
26 Mar 2009 11:38 AM #3
Thank you for the compliment
But to make this component "Air.lib ready", we must improve the code
27 Mar 2009 6:24 AM #4
What exactly is the difference between your component and the Ext.air.Notify class. I did try neither the one nor the other but thought about implementing this feature to my application.
Thanks in advance
27 Mar 2009 6:45 AM #5
this component has opacity and show/hide animations.
You can extend this component with all your wishes. (the full framework can be run on it)
This component establish a connection thru both windows and you can access functions/classes on both sides.
This connecten is closing automatically by hiding the Notification.
If you would use this component, and you have ideas/extensions/fixes/improvements... please post it here.
I think we can make a wonderful extension for Ext.Air
27 Mar 2009 7:01 AM #6
Sounds all very good, but to be honest, I expected the Ext.air.Notify class to do exactly what you listed up. I will just download your code, give it a try and participate in further enhancement if possible and necessary.