In the previous article I explained how to use Yahoo! Maps. Now I’ll explain how to create a custom marker and how to place it on the map. This is not an easy task because on Yahoo! Developer Network (YDN) there is not enough documentation regarding Yahoo! Maps API for AS3. Take a look at […]
Popularity: 29%
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: 69%
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: 68%
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: 66%
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: 85%
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: 62%
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: 93%