Tag Archives: experiment

How to as3 resize a movieClip and constrain proportions | Actionscript Tutorial

I’ve had that exact task numerous time while scripting actionscript. I have a source image loaded externally or a mc within the program and I need to fit it into a certain area (width x height) but keep the aspect ratio the same or as photoshop calls it “constrain proportions”. I’ve done this with fancy [...]
Posted in tutorial | Also tagged , , , , , , | 32 Comments

Detect Flash Player Version | Actionscript based detection method (as3)

See my previous post about how to do this with as2: Detect Flash Player Version | Actionscript based detection method (as2) Overview Recently I had a requirement that I had to detect which version of the flash player was currently installed. This is a normal thing, we do it all the time when embedding flash into html, [...]
Posted in tutorial | Also tagged , , , , , | 3 Comments

Copy TextField text to System clipboard | Actionscript (AS2 + AS3) Tutorial

Overview Integrating the clipboard of the operating system with your flash projects is sometimes essential. It’s a very simple and boils down to one basic method… System.setClipboard(). I’ve found a couple other things help the user experience though, such as selecting the text that gets copied and giving the user some sort of feedback to let [...]
Posted in tutorial | Also tagged , , , , , , , , , | 14 Comments

Voters Aide, a Google Analytics Event Tracking Report Example

Overview Voters Aide – a little flash app I made in some spare time to help prioritize the issues and positions for the 2008 presidential election. The app would let uses assign a weight to each of the big issues (0 – 100), and then read each candidates positions on every issue and record to which [...]
Posted in tutorial | Also tagged , , | Leave a comment

Voters Aide | Prioritize the Issues this Election | Interactive Flash App

To accompany the last presidential debate, I ask a question: Who to vote for? It’s not just about what party you’re affiliated with, who you agree with more on an issue or which candidate you understand better… it’s a combination of them all. It’s more important how a candidate can handle the different issues facing us today [...]
Posted in personal, portfolio | Also tagged , , , , , , , | 2 Comments

Event Tracking with Google Analytics | Flash Integration | Tutorial

Many have read my Integrate Google Analytics with Flash Tutorial in which I express enthusiasm for the new event tracking at google analytics! Well, it’s been a while, but I was admitted to the Beta testing group! So I’ve now had the chance to play with event tracking a bit and wanted to publish my [...]
Posted in tutorial | Also tagged , , , , , , , , , , , , , | 21 Comments

Interactive Image Viewer v1 @ FlashDen

I’ve re-purposed an old project of mine, the interactive pog portfolio viewer, to FlashDen. I call it the pog portfolio because each work is represented by a circle, or pog, and you play ith it in the “bay” with different interactive physics configurations. When you click a pog you can view a close up image [...]
Posted in portfolio | Also tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Brownian Movement in Actionscript | Random Motion Tutorial

Overview Having things drift around or move randomly has always interested me. Having an animation that is never going to be the exact same thing is very exciting. The focus turns from key-ing exact animations to programming a feel and letting the animations take car of themselves! One type of seemingly random motion is Brownian motion. [...]
Posted in tutorial | Also tagged , , , , , , , | 2 Comments