Category: Flash

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

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

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

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