Archive for the ‘Flash CS4’ Category

Flash Image Manipulation

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…)

Calculating angles and moving objects accordingly

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…)

JSFL – The following Javascript error(s) occurred

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…)

How to use JSFL to Extend Flash

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…)

Security Sandbox Violation: Workaround for Images

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" (more…)

Subscribe to RSS feed FGS5 Badge