Custom 404 Page Not Found Pages .htaccess / Error Handling
A cool trick you can entice your visitors with is custom error pages. When a page on your server is not found, your visitors will normally see their browser's default message such as "Page cannot be displayed." If you used a custom error page though, your visitors will see your page.
Popular Web Tricks .htaccess / General Guides
A really cool feature that web designers overlook is the use of the .htaccess file. Simply put, whenever you see a custom error page (404, 403, etc.), use server side includes, restrict IPs, load a default page, or do any host of events invisible to the user, you are probably going to be using .htaccess.
Random Numbers Adobe Flash / ActionScript
In programming, it is nice to be able to create numbers that occur unexpectedly.To create numbers that occur with no set pattern, one would need to use random numbers.
Dynamic Event Handlers Adobe Flash / ActionScript
Now dynamic event handlers are really one of the best things that Flash MX brought, as they allow us to change a handler at run time. You may wonder what this means. Well, it's simple, really. Imagine that you want a movie clip to go right, and when it reaches a certain position, make it stop.
The Drawing API Adobe Flash / ActionScript
Using the drawing API is not the easiest thing in the world, but once you get the hang of it, you can produce very easily lots of cool all-code movies.
Tertiary Operator Adobe Flash / ActionScript
This operator is also used to shorten if tests. It is used in the case that: if something is true, then 1 (or 0) thing happens, otherwise 1 (or 0) thing happens.
Getting an Index Position from an Array Adobe Flash / ActionScript
There are several times when I found it helpful to get the position of an item contained in an array. This quest becomes especially useful when you are dealing with multiple arrays with items in one array corresponding with items in another array.
Relative Addressing Adobe Flash / ActionScript
We have talked already about scope issues and addressing. They're tricky. Well there's very particular issue I want to talk to you about: the use of _root.
Building Protoypes Adobe Flash / ActionScript
Basically, a prototype is a function, but the difference is that you can apply it to an object. This is where the fact that Flash Actionscript is Object Oriented is the most obvious.
Solve Cache Problems when you Load a Movie Adobe Flash / ActionScript
When you load a movie, variables, or a text, what you load is put in the cache of your computer by your browser. This can cause problems because if you load files, chances are that you are going to update them quite often, but Flash will look for the files in the cache, that is to say the old ones.
For...in Loops Adobe Flash / ActionScript
For...in loops are tricky to use. What they do is simple though: they reference everything they find in an object and put it in an array.
Color Object Adobe Flash / ActionScript
What the color object does is allows you ways to apply color and alpha effects to movieclip objects much in the sense of a filter. When applied to a movieclip object, it is applied to everything within that movieclip.