Category: actionscript 3

  • DataGrid doesn’t update rowCount correctly

    I have an Bindable ArrayCollection with values and DataGrid that should show all the values (or rows) without the ugly scrollbars (I hate scrollbars). This is working correct by setting the rowCount property in DataGrid like this:  rowCount = “this.ArrayCollection.length” the tricky part is when you add items to that ArrayCollection on application run. Somehow…

  • 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…

  • 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…

  • How to save files from Flex to your server with PHP

    For my AMDawing I searched a lot for . And all the solutions that I found are too complex in my opinion. I saw all the examples with remote objects and AMFphp or ZendAMF. Finally I found the solution at thinkerlog.com. I think it is the most straight forward solution. This are the basics: First…

  • Augmented Reality

    A few weeks ago I was busy finding a graduate project. And during that time augmented reality looked very interesting. Most of you know what it means, for the others here a small explaining line from wikipedia: Augmented reality (AR) is a field of computer research which deals with the combination of real-world and computer-generated…

  • Draw on 3D object

    Here in Holland you have free news papers that you can read when you consume any kind of  public transportation.  In my childhood when I was bored I took a newspaper and draw all sorts of objects on  photo’s of famous people,  like: glasses, moustaches, beards and acme. I think this is also cool in…

  • Why has AIR file.browseForSave no FileFilter option

    I try to create my own extension with a saved AIR file. The point in doing this is that the user knows what files are created by what program and a file without an extension is just plain ugly. When you save a file in other programs you can choose to overwrite a file (that…

  • 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…

  • Air file.nativePath Vs. file.url

    Is it me or is file.url a lot easier to use than file.nativePath in Adobe AIR. Maybe I’m missing something because every tutorial or code snippet I can find uses file.nativePath. I’m busy building an AIR application that can be used on Windows and Mac OS. I have to take care of the file structure…

  • 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…