Tag: Actionscript

Posts tagged with "Actionscript"

A Simple State Manager for History Keeper

Someone asked how to store a key value pair in HistoryKeeper recently, and this was my answer. History Keeper does not provide any state management features beyond the information you store on the actual deep link (URL hash). However, you should be able to use the deep link information to grab the data you need …...

Read more →

The Bunny (Video) Explodes. Explodes!

UPDATE: I intended to post the source for this a long while ago (after cleaning it up), but I never got around to it. Here it is in it’s current state. I wanted to see how far I could push that exploding Actionscript 3.0 code – see if Flash could handle updating each animating pixel …...

Read more →

The Pixels Explode. Explode!

Update: I posted a follow up an exploding video! Well I guess technically the pixels don’t explode as much as the DisplayObject explodes into pixels! I recently needed an effect that would make a bitmap image look sparkley, so I did some goggling, and game across a Firefly particle effect on a blog post belonging …...

Read more →

Trace Actionscript in a Browser

Testing Flash apps in a browser can be cumbersome, but it needs to be done for some browser only functionality, such as deep linking and back button functionality – as well as checking other things that might change once you are out of the Flash “test movie” sandbox, and into the browser – things like file …...

Read more →

unFocus.Games – Tetris clone

I made a promise on someone else’s blog to post the code for the Tetris clone I made a while back, probably in fatigue induced delirium, a little bit ago, so here it is in a new Google Code project called unFocus.Games. The post on bit-101 post was about game architecture. While developing the code for …...

Read more →

AS3 unFocus.HistoryKeeper in SVN trunk

I added an initial round of AS3 files to the SVN trunk to make HistoryKeeper more accessible from Actionscript 3.0. If you are feeling adventurous, feel free to check it out of the trunk, and give it a try. There is also a small resurrected Actionscript to Javascript communicator (eh, it’s totally new actually, but …...

Read more →

MouseWheel on Mac

So for some reason MouseWheel.SCROLL events don’t work on Mac OS X. There is a fix! Gabriel over at Pixel Breaker created a script which fixes it up nicely. The script did require some modification to get it to work with SwfHTML, since it was designed to work with SwfObject. It took very little modification …...

Read more →

New Paint and Tetris

I thought the site needed a new coat of paint, and so I think Tetris is in order! Update: Moved to a separate page. Click to give flash focus – arrows move, up arrow rotates. There’s no start button, or end to the game – and no levels or scores either. But it’s a start. …...

Read more →

A problem with Flash Player 10 version number and javascript detection

As you may have heard, Adobe recently released the first beta of Flash Player 10. It looks like unFocus.FlashPlayerInfo has been checking for single version digits, rather than multiple: [cc lang=’javascript’ ] _versionRaw.match(/Shockwave Flash (\d)\.(\d)/); [/cc] The fix is easy enough (I could swear I actually fixed this at one point too): [cc lang=’javascript’ ] …...

Read more →