Archive for category AS3

Adobe MAX Unawards

Adobe AIR for Android App – Study AS3

I EASILY converted my Study AS3 iPhone app over to AIR for Android. I actually took me longer to film the video and put the website together. Anyway, it not official yet, since AIR for Android is still in prerelease, but once I get the word, I post it on the Market Place.

Website
http://flashfood.net/as3/

Papervision3D 101 – Papervision3D Essentials

Papervision3D Essentials
This is a great introductory book to get started with Papervision3D using ActionScript 3. If you are not familiar with Papervision3D, it is a set of ActionScript API’s (tools), that allow you to create 3D worlds, interact with 3D objects, and much more. The great thing that I love about this book is the fact that it is written from a beginners point of view. The book does assume that you know ActionScript 3, but does not assume that your now anything about OOP (Object Oriented Programming), building classes, etc. It walks you through everything step by step. Excellent book, great examples, well written! So, what are you waiting for! Go get it. Hardcover & PDF versions available.

Tags: , ,

ActionScript 101 – Event Handling

Intro to ActionScript 3 Event Handling

FlashFood – ActionScript 101 – Event Handling from Lou Barber on Vimeo.

//FIRST CODE SNIPPET
this.flashChimp.addEventListener(MouseEvent.CLICK, onClick);
this.MAX.addEventListener(MouseEvent.CLICK, onClick);

function onClick(e:MouseEvent):void{
    trace(e.type);
    if(e.target.name == "flashChimp"){
        trace("Hello, Flash Chimp!");
        } else {
        trace("Hello, MAX!");
        }
    }
// SECOND CODE SNIPPET
this.chimps.addEventListener(MouseEvent.CLICK, onClick);
this.chimps.addEventListener(MouseEvent.MOUSE_OVER, onOver);
this.chimps.addEventListener(MouseEvent.MOUSE_OUT, onOut);

function onOver(e:MouseEvent):void{
    e.target.alpha = .5;
    }
function onOut(e:MouseEvent):void{
    e.target.alpha = 1;
    }

function onClick(e:MouseEvent):void{
    trace(e.currentTarget.name);
    }

ActionScript 101 – Functions

Introductory tutorial on AcitonScript variables. More to come. Full screen available.

Flash Food – ActionScript 101 – Function from Lou Barber on Vimeo.

ActionScript 101 – Variables

Introductory tutorial on AcitonScript variables. More to come. Full screen available.

Flash Food – ActionScript 101 – Variables from Lou Barber on Vimeo.