JiglibFlash AS3 3D Physics Engine

Howdy peeps. Just came across this neat AS3 3D Physics Engine called JiglibFlash, which is ported from the c++ open source physics engine jiglib.
It has support for Papervison 3D, Away 3D and Sandy 3D.

JiglibFlash AS3 3D Physics Engine

Check out JiglibFlash here and a bizarre soccer game demo.

Peace out

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

ConstructorPlus - Eclipse code template

Don't know about you, but I get tired of adding new event listeners and handlers for ADDED_STAGE and REMOVED_FROM_STAGE events. Sure I can copy and paste from a previous class but often I've added additional lines of code in the handlers that are specific to that class. So if you're working with Eclipse and FDT, here's a little code template I've put together and called ConstructorPlus. It will add a constructor with event listeners and handlers for both the ADDED_STAGE and REMOVED_FROM_STAGE events.

To import the file, in Eclipse go to Window > Preferences > FDT > Editor > Templates. Click Import... select the file and hit Apply. Now when you create a new class, just use Content Assist (Ctrl+Space) select ConstructorPlus and voila! Enjoy.

More templates to come... 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Writing efficient AS3

An interesting read over at Lost in Actionscript, with Tips on how to write efficient AS3

Squeeze some more speed and performance out of your code.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Jackin' your clicks!

It appears that the flash player has a number of vulnerabilities being exploited by some hackers. Kinda makes sense. With the player being so ubiquitous it gives them more reach than targeting specific browsers. Some of these exploits have been fixed by Adobe, while others still remain. Check out hackers.org for more specific clickjacking details. Adobe has also posted a workaround for the clickjacking issue.

A funny one that has been fixed now, allowed the hacker to hijack a users webcam via a clciking game. This video shows how it was done.



Pretty clever actually. An swf file with its wmode set to transparent is placed on top of an iframe with the flash player's privacy settings panel, then the order of the two are alternated so that some clicks are on the game while others are on the settings panel. Without really knowing, the user clicks all the right buttons enabling access to their webcam. As the exploit relied on javascript, Adobe has now added a frame-bursting script to the settings manager.

Watch where you click.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5