Archive | component RSS for this section

Code snippet: pass preloader flashvars to main swf

Needed some way generic way to get my flashvars from the preloader to the loaded swf I just extend the url with the flashvars like this

Continue Reading

Distort with drawTriangles()

There are a growing number of posts about the technique to distort an image with the drawTriangles() function. But most of those examples create a lot of extra vertices that aren’t needed for displaying the image and more calculation means more CPU consumption. I explain here how to work with verticals and show some basic [...]

Continue Reading

Get the dataprovider of another Line in lineChart?

In some cases you have 2 different XML files to show 2 different lines in a lineChart. For example you want to compare a companies incomming with another month and each month is in a different XML. In a dataTipRenderer I show the styled data but I can only access data from 1 line. My [...]

Continue Reading

Strange behaviour of Tree component

I’m  making a tree like menu structure. It is already a hacky business but now I encountered another problem. And I have no clue where it is happening and if I do something wrong or Flex is messing it up. I have a Tree component that uses a tree renderer to render the items. In [...]

Continue Reading

How to find an address with Google maps Flash API

After the Flash Google maps API release I spend some time to see what is possible. I started with the documentation from Google. In there documentation they are using the latitude and longitude coordinates to set the center of your map. This is not really a human readable way to do it and personally I [...]

Continue Reading

Direction of the TileList behaves strange

I stumbled into an incorrect working function of the TileList in Flex. It looks like they swopped a few variables around. If you set the direction of the TileList to horizontal it looks like Flex doesn’t care about the option and just scolls vertical. After that I checked an Adobe quickstart guide to know sure [...]

Continue Reading

ImageViewer3D final release

Today I’m going to release the code of ImageViewer3D like I promised before. It is not finished but I have to move on to other things. I few days ago I asked everyone to give input and because of the shortage of time I can’t put every suggestion in. Sorry for that but many thanks [...]

Continue Reading
Page 1 of 11