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 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 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
Posted by Bill Nunney on Jan 9, 2009 in Actionscript 3.0, Flash, Tutorials | 5 comments
Hi all just thought it’d be good to tell ye all how to change the quality of your movie with actionscript so it changes on runtime.
Quick Code:
stage.quality = StageQuality.LOW;
stage.quality = StageQuality.MEDIUM;
stage.quality = StageQuality.BEST;
Simply paste one of these into your actions layer and huzzar! the quality will be altered!
Peace...
read more
Posted by Bill Nunney on Dec 8, 2008 in Actionscript 3.0 | 0 comments
Hello, So i finally dragged myself away from playing even more games (completed Dead Space finally!) to bring you a follow up to my previous tutorial BLAHLINK. This Tutorial will show you how to add forward momentum in the correct direction based on the angle of the movieclip player.
first download the Source Files from my last tutorial. We will use this as a base.
Now change the update...
read more
Posted by Bill Nunney on Nov 14, 2008 in Actionscript 3.0 | 1 comment
Hello again, Today i will following up on my previous tutorial LINK and will be teaching you how to add forward movement to your movieclip and left right controls (kinda like Asteroids).
If you don’t have the original source you can download it HERE.
First we declare and define some lovely variables. These will be our starting velocity values, one for the X axis and one for the Y...
read more