Posted by Bill Nunney on Nov 12, 2009 in AIR 1.5, Flash, Tutorials | 0 comments
Hey all,
have you been getting this crazy error message when trying to access the NativeApplication.nativeApplication.icon.menu on windows?:
1119: Access of possibly undefined property menu through a reference with static type flash.desktop:InteractiveIcon.
Everything in the livedocs leaves me to believe that a reference like that would work on windows machines, but it doesn’t.
I...
read more
Posted by Bill Nunney on Sep 28, 2009 in Actionscript 3.0, Flash, Gaming, Software, Technology | 0 comments
Some of you may be familiar with rapid prototyping. It is a concept i learnt from the Experimental gameplay project, specifically this article by Kyle Gabler, Kyle Gray (2D Boy, World of Goo), Matt Kucic, Shalin Shodhan.
Rapid Prototyping is a great way to develop new ideas quickly. I use rapid prototyping all the time whether it be in AS3 or Javascript, a game or an application. Whilst game and...
read more
Posted by Bill Nunney on Aug 21, 2009 in Actionscript 3.0, Flash, Tutorials | 0 comments
Hey Wuup readers. After going through all my older AS3 Basics articles, I found that most of them didn’t really go over the core elements. So in order to rectify the problem, I’ve decided that it’s time to flesh out this area a little. I’m by no means an expert on the language – unless you count 3 years experience as expert material – But I do know what does what,...
read more
Posted by Bill Nunney on Aug 9, 2009 in Actionscript 3.0, Flash, Tutorials | 10 comments
So i’ve been writing some CD launchers recently with some handy tools on. One thing i had major trouble with was getting a Projector .exe to run programs from sub directorys. Luckily i figured it out so heres how…
First in your CD/DVD root directory place a folder named “fscommand” this is the only folder which the projector will be able to see (from my experience,...
read more
Posted by Bill Nunney on Aug 3, 2009 in Actionscript 3.0, Flash, Tutorials | 0 comments
Hey everyone. This week, I’m bringing you some handy regular expression snippets I use quite frequently. If you are unfamiliar with regular expressions, think of them as a different language that you use within ActionScript. I’m not going to go into detail about Regular Expressions, there’s far better documentation on the Adobe LiveDocs here for the object & here for regular...
read more
Posted by Bill Nunney on Jul 19, 2009 in Actionscript 3.0, Flash, Tutorials | 2 comments
Hey all, in accordance with my new article writing regime, heres an article about a problem i came into contact with today.
I was working on a project for a client, i needed to have a watermark placed over an interactive area which used mouse events. Only the problem is that the watermark is a Movieclip (so i could use blend modes) which interferes with the underlying Movieclip’s mouse...
read more
Posted by Bill Nunney on Jul 13, 2009 in Actionscript 3.0, Flash, Tutorials | 0 comments
Hey all. It’s been a long time since i’ve written. hopefully i’ll be at least bringing you something each week from now on, instead of say when i feel like
Anyways…
Heres how to load an external file into an SWF.
var myLoader:Loader = new Loader(); // create a new instance of the 'Loader' class
var myURLRequest:URLRequest = new URLRequest("image.jpg"); // create a...
read more
Posted by Bill Nunney on Mar 29, 2009 in Actionscript 3.0, Flash, Tutorials | 4 comments
Recently i’ve been messing about with Flash’s built in components, for the most part they are self explanatory and easy enough to figure out from Adobes docs. Recently however i have had to use editable DataGrids in a form type scenario, I could create and display a DataGrid fine, but when it came to collect the data from it? I was completely stumped, Mainly because DataGrids utilize...
read more
Posted by Bill Nunney on Mar 14, 2009 in Actionscript 3.0, Flash, Tutorials | 0 comments
Ok so after about a month of Alan nagging me to post something, i’ve decided to write more about the core basics of the AS3 Language, Mainly because my previous “AS3 Basics” tutorials actually covered advanced topics. So each week i’ve set myself the task of explaining a core AS3 element, be it a class or language basics.
IF Statements
So if your just starting out in...
read more
Posted by Bill Nunney on Feb 18, 2009 in Actionscript 3.0, Tutorials | 1 comment
Ah everybody loves bitmaps, without them the web would be boring, well kinda. Anyway the following code will create the movie bellow.
This movie creates a bitmapdata object and randomise the colour of each pixel at runtime.
And heres the code to do it! step by step. (Skip to the bottom if you just want the source )
// initial width and height of our new bitmapData
var bitWidth:int = 100;
var...
read more