July 30, 2010

Why Use Groovy and Grails ? (60 secs)

July 28, 2010

I am giving away – Adobe Creative Suite 5 Master Collection

RSVP NOW, BE AT THE MEETING AND WIN ADOBE MASTER COLLECTION

At the next Flash Platform UG meeting in Nashville I will be speaking about Flex and PHP. This is a joint meeting with the Nashville PHP UG.

Well you don’t want to miss this meeting now ….. Adobe Evangelist Ryan Stewart sent me an email the other day and we where talking about the next meeting (thanks to Cal Evans for introducing Ryan to the Nashville UG community), anyway long story short Ryan offered to allow me to give away of MASTER COLLECTION! This is a $2600 value.

Someone is going to walk away with it. It might as well be you so, be there or you will kick yourself. I will also be giving out a few t-shirts and stickers from our friends at influxis

Posted via email from Matthew Sloan Wallace

July 23, 2010

Video Chat for Android in 30 Lines of Code

July 22, 2010

Here are the numbers …. Know what you are worth

 

A 12-month comparison by Janco indicated that mean compensation, which included bonuses, for all IT executive positions in large enterprises surveyed stood at $143,378, which was a marginal increase from the previous $142,753. Contrastingly, in the case of mid-sized enterprises, there seemed to be a slight decrease in the mean compensation, $125,079 from the previous $126,031.

Posted via email from Matthew Sloan Wallace

July 19, 2010

How to install Lua 5 in Mac OS X Leopard « Devthought

If you have darwin ports installed on OS X then you can follow the instructions below. If you don’t want to go thorough the trouble of installing darwin ports just so you can use wget then you can just hop on over to the lua downloads and drop the tar file into the /tmp dir and follow the rest of the instructions

Open up terminal. Copy the link of the latest Lua version and download it:

cd /tmp wget http://www.lua.org/ftp/lua-5.1.4.tar.gz

Extract and compile:

tar -xzvf lua-5.1.4.tar.gz cd lua-5.1.4 make macosx

Test and install (if test goes through)

make test sudo make install

And you’re done!

Posted via email from Matthew Sloan Wallace

July 15, 2010

Unity 3 Feature Preview – Beast Lightmapping

Unity just becomes more badass everyday.

Posted via email from Matthew Sloan Wallace

July 12, 2010

Physics in Five Lines

As a developer that considers himself more on the UI side of things I really enjoy sdks that make things easy and fast. Examples that I have used in the past when programing Flash are tools like Fuse, Tweener, TweenMax and APE.

I am excited to finally start getting into mobile development. I signed up to use the Corona SDK and I have yet to code anything that is ready for the app store. I am just futsing around with the API’s right now but I am really excited to see that the Corona SDK team are making things like physics and animation really simple for the developers.

Posted via email from Matthew Sloan Wallace

July 7, 2010

Install Flash on your jailbroken iPad (for real) — Engadget

Full How to Instructions available on the Engadget Site

Posted via email from Matthew Sloan Wallace

July 5, 2010

Create dynamic variables at runtime in your Value Objects

I am amazed at how much I learn every week. I have been coding Actionscript for a long time and no matter what sometimes you learn the most simple cool things. At least I thought it was cool for something as simple as this. Sometimes no matter how many projects you have been on you just don’t run across situations where you have to use parts of the language so you just never find the little nuggets of goodness that make your coding life a little easier.

Enter dynamic variables

Now if you have used just plain old Object you pretty much know that you can do something like the following.

var obj:Object = {};
obj.var1 = 1;
obj.var2 = “mystring”;
obj["some crazy var with spaces"] = new Array();

Anyway you get the idea.

I am on a project now where we are working with a lot of very generic objects that come back from server requestes and we are decoding JSON so using Object made a lot of sense to the other developers who are mainly have a lot of javascript knowledge and are learning Flex and Actionscript as they go. Naturally they thought JSON was the best way to go. I can’t really argue with that although I would have gone with using something like Blaze being that all of there backend is Java. That way we could use AMF and strictly typed objects that could be passed back and forth. Anyway … I digress.

In order to make our life a little easier and to make the code on the Flex side more understandable I started moving the team away from using plain objects on the actionscript side into using strictly typed objects or Value Object (VO’s), as I like to refer to them.

For examples sake let’s say that data coming back from the server contains Date and Time information. On the actionscript side I create an object like this.

package
{

   public class TimeVO
   {

      public var start:Date;
      public var end:Date;
      public var name:String; 

   } 

This is all great because you can just pass around the TimeVO object to all the components and you know what type of data it contains and there is less room for errors when creating new components that will be working with time data. 

In some of the components we do some data visulization with some of the Flex Chart components. Long story short, so that the chart that I was working with grouped data in the correct manner all the TimeVO objects needed a dynamic object created with a number value. Basically telling me that all the TimeVO’s belong to a particular “group” or “event” in time. I thought, “Hey, everything in Actionscript extends Object, right? All I should have to do is do something like this”.

var timeVO:TimeVO = new TimeVO();
timeVO["123234345"] = value;

Not so fast! If you try this you will get a Big fat Error! The simple solution is to make the class “dynamic” like this.

Set the class to dynamic

 package

{

   public dynamic class TimeVO
   {

      public var start:Date;
      public var end:Date;
      public var name:String; 

   } 

Here is the official documentation 

 

Posted via email from Matthew Sloan Wallace

July 4, 2010

Frash for iPhone -it’s Flash 10.1 for iOS

I am so glad that someone is working on this.

Frash is a port of the Adobe Flash runtime for Android to the iPhone, using a compatibility layer, by comex ( http://twitter.com/comex ). Frash can currently run most Flash programs natively in the MobileSafari browser. Frash currently only runs on the iPad, but support for other devices (3GS+ only due to technical restrictions) is planned, as well as support for iOS 4.

A release is planned for when Frash is stable. Developers are welcome to join the effort at http://github.com/comex/frash – fork it and send a pull request with your patches.

Posted via email from Matthew Sloan Wallace