Tag Archives: as3

Fullscreen in AS3 Tutorial | Plus Firefox Flash bug when enter fullscreen keyboard events fired

To view the full fullscreen tutorial go here: How to use fullscreen in AS3 | Stage Display State Tutorial Sucks when you seem to have a bug in your code somewhere so you dissect your code over and over and are convinced that according to your code, everything should be fine, so you come back later [...]
Posted in tutorial | Also tagged , , , , , , | 10 Comments

#tweetcoding

If you didn’t know, Grant Skinner has introduced an interesting competition called tweetcoding! Mixing as3 with the 140 character limit of tweeting he calls for the community to tweet visually interesting source code. I’ve played a bit with it and tweeted my first #tweetcoding entry! See more tweetcoding here 1g.clear(),o[++i]={x:mouseX,y:mouseY,c:r()*0xFFFFFF};for each(k in o)k.c*=.9,g.beginFill(k.c),ls(i,k.c),g.drawCircle(k.x,k.y,1),g.endFill(); Want to see my entry? Here [...]
Posted in portfolio | Also tagged , , , , , | 1 Comment

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

Foundation Actionscript 3.0 Animation: Making Things Move! | Review

Keith Peter’s Foundation Actionscript 3.0 Animation: Making Things Move! Can I just say WOW! Being a student of art and animation before turning to the flash world, I love how Keith is able to explain programming in terms that are very easy to understand and follow. I’ve been a huge fan of his since I first [...]
Posted in review | Also tagged , , , | Leave a comment

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

Learning ActionScript 3.0: A Beginner’s Guide | Book Review

Rich Shupe and Zevan Rosser’s Learning ActionScript 3.0: A Beginner’s Guide. This book is published by O’Reilly and is part of the Adobe Developer Library. This book was a great way for me to move into as3. I’m coming from a visual design background with little formal programming training, to know more of my background check my [...]
Posted in review | Also tagged , , , | 4 Comments