Why ActionScript 3.0 should be your first programming language

By |2013-12-29T20:52:43+00:00December 29th, 2013|

 ActionScript 3.0, is the best programing language for somebody just learning programing! ActionScript sounds like a weird choice, right? It’s client-side, not server-side. You can’t connect to a database or create files on the fly without some sort of middleware (like java or ColdFusion).  ActionScript 3.0 can also create AIR applications that can be deployed everywhere, the [...]

Compare 2 arrays with AS 3

By |2013-01-21T07:27:31+00:00January 21st, 2013|

The following function compares the values ​​of two arrays and returns another array with different values​​. private function checkArrays(array1:Array,array2:Array):Array { var array3:Array=new Array(); var length1:int=array1.length; var none:Boolean=false; for(var i:int=0;i < length1;i++) { var length2:int=array2.length; for(var j:int=0;j < length2;j++) { if(String(array1[i])==String(array2[j])) { none=false; break; } else { none=true; } } if(none) { array3.push(array1[i]) none=false; } [...]

AS3 Drawing Pad Awesomeness

By |2013-01-06T19:00:40+00:00January 6th, 2013|

This is another project that I've been putting off. It really should have some kind of bitmap merging/drawing going on to allow for a greater number of shapes, but I think it would work just fine for anything a guest would want to spend time on. Just don't try to recreate the Sistine Chapel ceiling [...]