Archive for the ‘Flash CS4’ Category
Saturday, December 10th, 2011
This isn't a tutorial, but I figured it may still be of interest to some. Below is a sample image manipulation application I created a couple years ago while trying to get a handle on bitwise operators. The bitmap data is manipulated in various ways depending on which button you select. Here's a quick breakdown of what each button does: (more...)
Tags: 4, 5, bitmap, bitwise, CS, Flash, image, manipulation, operator
Posted in ActionScript 3, Flash CS4, Flash CS5, Flash CS5.5, Tricks | No Comments »
Friday, November 18th, 2011
One of the most common tasks in Flash game development is calculating angles. This becomes important in even simple 2D games such as shooters where the player can fire bullets in all directions. If you're anything like me, you're probably not very good with math. I typically will find other ways to get the job done, and indeed I had my own way for figuring bullet paths, but eventually I decided to use real angles and I'm pleased to say it really isn't that bad. (more...)
Tags: ActionScript, ActionScript 3, angle, angles, bullet, calculating, development, Flash, game, math, move
Posted in ActionScript 3, Flash CS4, Flash CS5, Flash CS5.5, Gaming, Tutorials | 3 Comments »
Friday, February 25th, 2011
When you're working with JSFL, you may notice that Flash doesn't always provide the most useful error messages. Many times when a JSFL error occurs, Flash spits out this message: "The following Javascript error(s) occurred: "
It then displays exactly nothing. (more...)
Tags: debugging, error(s), following, javascript, JSFL, occurred
Posted in Flash CS4, Flash CS5, JSFL, Tricks | 4 Comments »
Tuesday, October 12th, 2010
Lately at work, I've been using JSFL for creating custom Flash CS4 extensions. It can be hard to find decent information on JSFL, so I figured I'd start doing some blog posts about it to help others. This one is pretty simple, but I do plan on doing several more on this topic in the near future; so stay tuned! (more...)
Posted in Flash CS4, JSFL, Tutorials | No Comments »
Wednesday, March 24th, 2010
There's one error I get in Flash that annoys me more than any other: "Error #2048: Security sandbox violation: some.swf cannot load data from www.someurl.com." (more...)
Posted in ActionScript 3, Flash CS4, Tricks | 9 Comments »