Tag Archives: open source

Random Movement | Brownian revisited for as3

I have had feedback that certain random movements I program are a bit “jumpy”. Such as my old brownian movement tutorial and I really noticed it in my last tutorial, the parallax 3d depth effect tutorial. I’ve been thinking about it and looking around at some code and now have this updated brownian movement [...]
Posted in tutorial | Also tagged , , , , , , , , , , , | 16 Comments

Dynamic 3d space | Floating Sketches Tutorial

I’ve had quite a few questions about how to make depth in flash. Earlier (like, 2 years ago) I put up an experiment file to give some interactive depth to some sketchbook sketches, see Floating Sketches. I’ve finally gotten around to translating that into as3. It’s still the same basic idea, Create layers of levels, [...]
Posted in tutorial | Also tagged , , , , , , , , , , , | 3 Comments

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

asfunction (TextEvent.LINK) Tutorial for AS3 | Flash HTML Link to call actionscript function | Tutorial

Overview Earlier I wrote a tutorial article about asfunction in as2. Now that I’ m into as3, surprise surprise asfunction has been depreciated and now to replace it is the LINK TextEvent. Dispatched when a user clicks a hyperlink in an HTML-enabled text field, where the URL begins with “event:”. The remainder of the URL [...]
Posted in tutorial | Also tagged , , , , , , , , , | 2 Comments

Code is good; Books are good; Source and Books are even better!

I’ve been thinking about this blog and what kind of content I want to be creating for the world and yes, you. I really enjoy creating working tutorials and open source project or components available to download and learn from. I make these available so that you are able to pick it apart and hopefully [...]
Posted in personal | Also tagged , , | Leave a comment

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

ColorTransform | RGB, Hex and random colors | Actionscript Color Tutorial

Overview Color can sometimes make or break your design. I’ve put together this flash to show how to set a movieclip to a certain color, I’ve had to do this at runtime and had to go by different values such as a hex number, rgb values and have even wanted to just set a random color, [...]
Posted in tutorial | Also tagged , , , , , , , | 13 Comments