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
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
Just some fun with Away3D and the SoundMixer class. View example
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 [...]
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 [...]
I while back I had some spare time and decided to check out Flint and followed the Flinteroids tutorial. It’s cool but I extended it a little with a few extra effects and a High score. Have fun! If someone has tip for good game sound effects please don’t hesitate to share
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: ?View Code ACTIONSCRIPTdataGrid.height = measureHeightOfItems(-1, dataGrid.rowCount) + dataGrid.headerHeight;
Here an example of the advancedDataGrid. I’m using a groupingcollection to get all the data from one searchengine in one group This movie requires Flash Player 9 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 [...]
Here is an example how you skin a DataTip from a LineChart with the help of Degrafa. Source
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 [...]
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. [...]