MatrixGrid is a complex component I made that displays a bi-dimensional array and gives the possibility to change its values using combo boxes. These are the changes you can do:
change one single item
change one row at once
change one column at once
The MatrixGrid component receives for objects:
array with the possible values in each combo box
the […]
Popularity: 27%
This will be a simple solution to be able to scroll to the last added row in a data grid. First of all I’ll explain what I mean and what I encountered when I needed to implement it.
The expected behavior is after adding a new row into a data grid, it should scroll to […]
Popularity: 59%
In the last article I explained how to create an image surrounded by border. That article is a start for fixing the issue: “image doesn’t have border style”.
Now I extended even more the new ImageBorder component to be able to center it horizontally and vertically and still be well displayed.
Modifications were made in updateDisplayList method […]
Popularity: 62%
How to put border around an image? How to do that when you set only maxWidth and maxHeight? This is not an easy task. Googleing about my issue I found this, on Adobe’s LiveDocs (you must go at the end where comments are): a couple of helpful comments where Justin.Buser is, literally, drawing a rectangle […]
Popularity: 61%
That is a verry small isue, but some times we really need a fast answer.
I try to use setFocus method for diffrent UIComponents, for most of them it’s ok, but for a button for example you can’t see focus border using only setFocus method, so the solutions is to use also drawFocus method.
drawFocus method is […]
Popularity: 71%
Some time ago, in a previous article I presented you ImageRail component that displays some thumbnails with possibility to scroll to left or right. Now we will add some new features that were missing.
Click Event - imageClick
Styles - imageBackgroundAlpha
HandCursor
Click event will be triggered when there is a click on an image, more precisely, on the […]
Popularity: 81%
What I mean in the title is this: having a data grid with a column containing some priorities (like: urgent, normal, high) among other columns, you want to sort by this priority column, but you notice that is not sorted by its importance but alphabetically. To make it crystal clear follow the example bellow…
Having the […]
Popularity: 62%
Using events is fun in MXML components is fun and easily you can specify events using Event meta tag inside the component like this:
<mx:Metadata>
[Event(name=”myevent”, type=”com.MyEvent”)]
</mx:Metadata>
The following lines defines the myevent attribute of the component like this:
<com:FramedImage x="10" y="10" myevent="handleMyEvent(event)" … />
FramedImage component is a custom component which displays a framed image.
For […]
Popularity: 63%
In this article I’ll present a new component I built: ImageRail. This MXML component will display a series of thumbnails having the possibility to scroll them horizontally.
Parameters:
paths: an array containing URLs to images
images: an array containing image objects
imagesToShow: an unsigned integer that specifies the number of images displayed at a time - deafult is […]
Popularity: 89%
In this article I’ll show the same application I presented at FlexCamp Bucharest Romania 2008 - the video from the conference is available here and although it is in Romanian it might be useful. In the presentation I’m showing the power of Flex: doing complex applications with a few lines of codding.
With this article […]
Popularity: 100%
In this post we will implement a login process with remember password functionality. In AS3 and also in AS2 we can use a SharedObject to store data on the users browser. Shared objects are similar to the all known browser cookies but are managed by the flash player. Shared objects can store data also remotely […]
Popularity: 87%
If you use Combo boxes to display options in some cases you may want to display options that are containing more than a few words. Maybe you want to know how a user arrived on your flex application and you want him to select from some complex options, but in the same time you don’t […]
Popularity: 62%
Flex is a very powerful instrument but needs to be learned and studied. Some time ago I got into a bug - that is what I thought at the first impression - but is not. I talking about the MouseEvent.CLICK event which is triggered also by the KeyboardEvent.SPACE.
Please try the following example and you’ll understand […]
Popularity: 77%
When speaking about RIA one of many nice usabilities is that to be able to give feedback to the user when it comes to critical actions like submitting important data, saving work, etc. Let’s have the following example: You log in into a RIA with your user and password, you do changes to your data […]
Popularity: 98%
This it’s an working example of how you can customize your tab bar navigation.
Popularity: 69%