Archive for the 'Tutorials' Category

Local vs. Remote Paths

Monday, August 20th, 2007

Normally when I'm working I tend to use XML a lot. Also, my file structuring goes something like this:

deploy

swf
images
xml
scripts
etc.

This is generally how I structure my deploy folder and inside of the root deploy folder I have my .html (or whatever) files. This poses a bit of a problem when I'm loading stuff into [...]

Filters in Fuse

Tuesday, April 3rd, 2007

I don't know how late on this I am and I have to admit I don't use filters in Flash THAT often, but I was trying to add a glow to a movie clip in a class using Fuse and I had a hell of a time finding out how to do it. I [...]

Using Modulo Part 2

Thursday, March 30th, 2006

I posted a while ago about using modulo and I've recently used it on a couple of things. What I like about it is that it resets the value of a counter if you're using one, like so:
PLAIN TEXT
Actionscript:

var bg:Number = 0;

var total:Number = 5;

 

function addNum():Void

{

    trace(bg);

    bg++;

    bg %= total;

}

 

for [...]

Using FlashVars & Query String Variables

Sunday, September 4th, 2005

Project Preview
Recently I've used FlashVars on a big project I've been working on at one of my contracts. I found this to be a very useful and effective method of passing in variables to Flash through HTML. Basically what it allows you to do is pass in variables to the root level of [...]

Illustrator Tips & Tricks

Saturday, July 30th, 2005

I've been using Illustrator for some time now and I've got a few really handy tips and tricks that I've learned along the way from other designers or found by myself that, if I had known about them before, would have saved me tons of time and headaches. I'll update this post when I [...]

Global Mute Button

Friday, July 8th, 2005

Someone asked on the Kirupa forums about building a mute button that will control every sound that is embedded on the timeline. I remember doing something like this a while back but I couldn't remember the exact code, so I found it again (the same way I found it before, Google, duh!). Anyway, [...]

Converting RFC-822 Date to a Readable Format

Wednesday, July 6th, 2005

I was making my news RSS 2.0 compliant for the new reintroducing.com and fell into a hole when I had to convert the date to a readable format in Flash for my news script. The date is in UTC format (Sun, 28 Jun 2005 12:16:00 GMT) which is not what I wanted to use [...]