This is always for me a great pleasure to answer to mails or comments on my blog and help the users or just some visitors. But 2-3 weeks ago, I had a great surprise, in return, when Herb, from Japan, sent me a modified version of my Flex Notification, including 2 bug fixes and some enhancements ! I was really amazed and so pleased that someone took time to enhance this component and share it ! In the open source world, this is simply called a contribution, I think
So today, I release the version 1.3 of the Flex Notification, including Herb Morris’ contributions.
In this version (that you will find here or on its bitbucket.org repository):
- Changed calculation to ensure a Notification is correctly displayed within its parent, no more clipped,
- Fixed a bug that could hang the application when lots of Notifications are displayed
- Added an easing function to the default effect.
- Added a duration for the closing effect.
With its version 1.2, the component Flex Notification can be stacked. This has been suggested by 2 of my visitors and I think this was a very good idea. So, this is now possible using a new property to use in the Notification.show() method. The property stackable is set to true by default, so by default, the Notification will be stacked.
Technical changes (you may have some compilation errors if you already use my Notification):
- There is a new class called the NotificationStackManager which mainly count the Notifications
- The NotificationStackManager is implemented as a Singleton.
- You don’t need to deal with it, only the Notification sends counting information to the Manager
- The 2 components (Notification and NotificationStackManager) have been placed in a package
- The Notification.show() method changed as the stackable parameter can be set between the iconClass and the notificationParent parameters.
I hope this version will enjoy both current and futur users.
You can check an updated demo at the original post.
In an application, you often must send messages to your users. Some messages require an acknowledgement or a decision from the user: in Flex, the Alert class is used for this. But sometimes, your message is "for information" only. In this case, the Alert and its OK button represent a disturbing and ennoying additional click.
Here comes the Flex Notification, that actually mimics any other notification that may be found in other applications, poping up from the bottom right corner of your screen.
Continue reading »