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%
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%
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 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%
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%
Now here is an example how to check a user using our CAPTCHA.
Popularity: 38%
And now here is a running example. This shows how to generate a CAPTCHA setting about 4 parameters.
Popularity: 38%
This it’s a clean example about how to add a CSS style to a component in Flex.
We need to create the CSS file (style.css) and add a custom style:
.myStyle {
font-size: 20px;
color: #cc0000;
}
Make a new Flex project and in the defalul MXML aplication file add this code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" >
<!–// Here we call our […]
Popularity: 43%
So you need a modal window and you are using Flex :). This a small example that will open a modal window when application it’s initialized. I put the title to the modal window, but you can add also an icon.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute" initialize="openModalWindow()">
[…]
Popularity: 39%
A bunch of examples for Adobe Flex and ActionScript.It’s a good starting point if you need help on any problem. There are examples with sources (mxml files) and a working swf.
I thing this is a really useful tool for everyone how it’s thinking to start using Flex.
So visit Peter deHaan’s blog at […]
Popularity: 37%
Having the code bellow:
<mx:application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:script>
<!–[CDATA[
public static const menubarXML:XMLList =
<root>
<menuitem label="main1" data="1">
[…]
Popularity: 26%