Tag: as3

  • Distort with drawTriangles()

    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…

  • LineChart datatip with degrafa skin

    Here is an example how you skin a DataTip from a LineChart with the help of Degrafa. Source

  • TimeDateAxis

    I’m going to try to shift the focus of my blog a little bit more to examples and away from the “I have this problem bla bla”. Well I just try to blog more because it a bit quiet here. I’m going to post some things that is useful for myself to archive and maybe…

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

  • 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