Apache Flex 4.10 Released!

By |2013-08-06T19:09:21+00:00August 6th, 2013|

Today the Apache Flex Team has released the latest version to the Flex SDK, we are now at version 4.10.0! Apache Flex 4.10.0 highlights include: Support for latest versions of Flash Player and AIR runtimes. At the same time, we have made it easier for developers wanting to take advantage of the latest advances in [...]

Wrong wmode value in Starling

By |2013-08-01T00:00:44+00:00August 1st, 2013|

A common issue that occurs when you have not set the wmode attribute in the HTML page is the following message "This application is not correctly embedded (wrong wmode value)". The solution is very simple. Set the wmode attribute in the HTML to "direct". I have included my HTML code below as an example. I [...]

swf versions

By |2013-07-31T21:40:46+00:00July 31st, 2013|

Flash -swf-version meaning It's getting more and more versions! We can't remember them all, so here we go! SWF Version Compiler Option Flash Player Version AIR version -swf-version=9 N/A -swf-version=10 10.0, 10.1 1.5, 2.0 -swf-version=11 10.2 2.6 -swf-version=12 10.3 2.7 -swf-version=13 11.0 3 -swf-version=14 11.1 3.1 -swf-version=15 11.2 3.2 -swf-version=16 11.3 3.3 -swf-version=17 11.4 [...]

Shake your MovieClip

By |2013-03-16T15:18:48+00:00March 16th, 2013|

[kml_flashembed publishmethod="static" fversion="8.0.0" movie="http://johnbarrett.net/wp-content/uploads/2013/03/shake.swf" width="400" height="300" targetclass="flashmovie"] [/kml_flashembed]A friends had ask me how did I shake a MovieClip. I told him I would show me. First step make a MovieClip, mine is an orange square, with a instance name of mcOrangeBox Then open the actions panel import flash.display.MovieClip; import flash.geom.Point; function shake(mc:MovieClip, frames:int = 10, [...]

3D Platform

By |2013-01-22T06:23:31+00:00January 22nd, 2013|

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"]

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

Demand for Flash Developers is way up!

By |2010-08-25T17:42:37+00:00August 25th, 2010|

Reading on the Wall Street Journal's website, it seems like the trend for flash developers & Engineers is way up! according to the article: [box] At the same time, the supply of such engineers remains low. It is particularly difficult to find Flash engineers who have both an artistic and computer-science background, say executives.[/box] Therefore, [...]