Jul 20

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.

Have fun.

Flattr this

 

not goodquite goodgoodvery goodexcellent (2 votes, average: 5 out of 5)
Loading ... Loading ...

Written by Arnaud
Tags: , , ,

Share/Save/Bookmark


Jan 20

I was used to replace strings by a hardcoded string (or just "" to remove something) or a variable. But sometimes this was not enough, so I started complex treatments of the strings and substrings… often only to get headaches and bugs.

Yesterday, I wanted to clean an HTML string and reuse the value of an attribute to inject it in the new string. I was really not happy at all with the idea of doing the same heavy treatments as in previous works, so I opened the Flex Language Reference and read… This is usually a good thing … to read something totally. And there, I just found the Scrat the Saber-Toothed Squirrel ’s acorn… or I just felt like Scrat catching its treasure ;).

 

Continue reading »

not goodquite goodgoodvery goodexcellent (No Ratings Yet)
Loading ... Loading ...

Written by Arnaud
Tags: ,

Share/Save/Bookmark


Oct 03

Here is a new component that I wanted to share. It extends the mx:DataGrid and its goal is to keep a column "fixed" in the DataGrid. This, whatever the dataProvider is or changes and even when columns are dragged or new ones are added. This is maybe specific to my own need but you never know ;)

Continue reading »

not goodquite goodgoodvery goodexcellent (1 votes, average: 5 out of 5)
Loading ... Loading ...

Written by Arnaud
Tags: , ,

Share/Save/Bookmark


Sep 28

This is quite strange that this function is tagged as private in the DataGrid code. Then, it doesn’t appear in the documentation although this is really useful.

dataGrid.mx_internal::shiftColumns(oldindex, newindex, event);

This will move the column at the oldindex to the newindex. And you can also use an event.

Of course, to use the mx_internal namespace, you need to add the following code:

import mx.core.mx_internal;
use namespace mx_internal;

So ok… 3 lines of code.

not goodquite goodgoodvery goodexcellent (2 votes, average: 3 out of 5)
Loading ... Loading ...

Written by Arnaud
Tags: , ,

Share/Save/Bookmark


Sep 08

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.

Have fun.

Flattr this

 

not goodquite goodgoodvery goodexcellent (2 votes, average: 4.5 out of 5)
Loading ... Loading ...

Written by Arnaud
Tags: , ,

Share/Save/Bookmark