Category: Programming

  • Create lightweight 3D models with Away3D

    Create lightweight 3D models with Away3D

      Alot of the flash 3D project on the internet are massive. They first have to download 40mb before they start. There are 2 ways to reduce this. Use PreFab 2.0 export (not yet released) to export every model to awd files. Make simple models with Actionscript I made a example project to show how to…

  • 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

  • Music visualisation with SoundMixer.computeSpectrum();

    Music visualisation with SoundMixer.computeSpectrum();

      Just some fun with Away3D and the SoundMixer class. View example

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

  • Experimental flickr photo viewer

    Experimental flickr photo viewer

    Not so long ago I saw a nice menu from (I’m not really sure) a game console on TV. It had a tilted view on 3D planes with information from a games and after selecting a plane the plane rotate toward the camera so you could see more detail from the selected game. I made…

  • Calculate DataGrid height

    I have a dataset with more than 200 items. If I use that as dataprovider of a datagrid and set the rowcount to 10 the datagrid is not alway resizing to the right size. Sometimes I see 10.5 rows. This is a nice solution for that problem: dataGrid.height = measureHeightOfItems(-1, dataGrid.rowCount) + dataGrid.headerHeight;

  • AdvancedDataGrid GroupingCollection and sort

    Here an example of the advancedDataGrid. I’m using a groupingcollection to get all the data from one searchengine in one group [SWF]http://arnomanders.nl/upload/advanceddatagrid/AdvancedDataGridExample.swf, 400, 400[/SWF] One problem that I encounter in the advancedDataGrid is sorting a column on application start. I try to sort the “number of visits” field and it is working for the known…

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

  • What is the deal with application.parameters?

    I send a userId to my application to display a linechart with the application.parameter object. I get the userId parameter inside my application and can trace or alert it and I see the userId on my screen. Ok everything is working fine for now. Then I want to use the userId to call php function.…