Monthly Archives: January 2013

//January

3D Platform

This is for a game that I am doing, it is based in Away 3D, to use it use the arrow keys and take the platform for a spin ;) [kml_flashembed publishmethod="static" fversion="10.0.0" movie="http://johnbarrett.net/wp-content/uploads/2013/01/AStar3D1.swf" width="500" height="500" targetclass="flashmovie"]

By | 2017-06-07T01:05:25+00:00 January 22nd, 2013|Actionscript 3.0, AIR, Away 3D|0 Comments

Compare 2 arrays with AS 3

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; } [...]

By | 2013-01-21T07:27:31+00:00 January 21st, 2013|Actionscript 3.0, Blog|0 Comments

Getting Flash Working on Android, Jelly Bean

Some popular video providers have not transitioned to HTML5, so if you still want Flash on your phone/tablet, there are ways around it -- just keep in mind that this is not recommended by Adobe and that the experience with the plugin. Also note that downloading the Flash Player apk file from unofficial sources could [...]

By | 2013-01-14T23:09:06+00:00 January 14th, 2013|Android, Blog|0 Comments

AS3 Drawing Pad Awesomeness

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 [...]

By | 2013-01-06T19:00:40+00:00 January 6th, 2013|Actionscript 3.0, Blog|0 Comments

AS3 Decimal to Binary, Octal and Hexadecimal Convverter

This converts decimal into binary, octal and hexadecimal. I have no idea why I made this. In fact, there’s probably a native function that does this ten times quicker. It was fun, though. Call it an adventure into user input. […]

By | 2013-01-06T18:59:03+00:00 January 6th, 2013|Actionscript 3.0, Blog|0 Comments