Actionsnippet - actionsnippet.com - ActionSnippet
General Information:
Latest News:
HTML5 Canvas Tutorial 22 Jul 2012 | 12:06 am
If you haven’t tried the html5 canvas tag yet, I suggest you give it a try. It falls under the same category as ActionScript’s Graphics and BitmapData classes. It is however much much simpler. One gre...
Gumowski/Mira Pseudo-Soundwave 30 Jun 2012 | 09:37 pm
CLICK HERE TO COPY Actionscript: [SWF(width = 600, height = 600)] var a:Number = 0.02; var b:Number = .9998; var xn1:Number = 5; var yn1:Number = 0; var xn:Number, yn:Number; var scale:Number ...
Closest Point on a Line 29 Jun 2012 | 11:42 pm
CLICK HERE TO COPY Actionscript: // from // http://www.gamedev.net/topic/444154-closest-point-on-a-line/ function getClosestPoint(A:*, B:*, P:*, segmentClamp:Boolean=true):Point { var AP:P...
Crockford’s Create 1 Sep 2011 | 02:11 am
So here is a javascript inspired snippet. It's also in javascript style with no typing really. To port to javascript would take less than 4 minutes: CLICK HERE TO COPY Actionscript: // 1D function...
Stereoscopic Papervision 31 Aug 2011 | 02:02 am
Cross your eyes to see 3D third image:
ActionSnippet.zip 29 Aug 2011 | 12:24 pm
Who would like a zip of the folder I used when making this site fla files and all? If you want one, post a comment and I'll send it to you. Actually have a little new content for the site coming, at ...
New Site zReference 18 Jan 2011 | 07:20 am
Actionsnippet has been pretty inactive for the last few months. I took a short break from blogging, but I'm starting up again on a new site... go check it out: zReference
Quick IE Test 9 Jul 2010 | 05:50 am
Found this today, not related to actionscript but rather nice. It allows you to take a screen shot of your website in IE... if your on a mac without windows this is a quick way to test in a pinch: ht...
Circle Fitting 6 Jun 2010 | 02:29 am
CLICK HERE TO COPY Actionscript: var circs:Array = [] var circNum:int = 600; addEventListener(Event.ENTER_FRAME, onAdd); function onAdd(evt:Event):void { if (circs.length <circNum){ ...
Fill in the Blank 5 Jun 2010 | 02:56 am
CLICK HERE TO COPY Actionscript: var story:String = "Fill in the _____."; var txt:TextField = new TextField(); txt.defaultTextFormat = new TextFormat("Georgia", 20); txt.width = stage.stage...