Category: Programming

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

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

  • More playing with 3D and 3D physics engine

    I extended the Flex 3D example of my previous post some more. Now you can drag (left mousebutton) the objects and bounce them into each other. I think the smart visiters will see that it look a little like TileUI from Doug McCune or TileUI copy of Bill White. I tried to make something like…

  • Playing around with 3D and WOW

    Watch the Away3D and WOW demo. Sometimes they stand like a tower and sometimes it almost look like they explode. Click on the onderground to reset the cubes to a random position