3 July 2010

Using Adobe Flex 4 and spark.effects to create a cool star-field

Was working with the 3D features of Flex 4 and ActionScript specifically

  • spark.effects.move3D
  • spark.effects.rotate3D
  • spark.effects.scale3D
For a presentation at the Melbourne Flex User Group and decided to create a 3D star-field. This worked out well for my demo, it allowed me to demonstrate something real.





You can control the star-field, the controls, top-bottom are
  • Perspective Projection X
  • Perspective Projection Y
  • Speed of effect
  • Size of Star
  • Direction of Movement
Have a play, check out the source code, I have enabled View Source, so right click and view source from the star-field. All feedback welcome


0 comments: