Home
Home
Home
Submit
Home
Source
Source Site » www.kirupa.com

Search another site:

http://
.htaccess Error Handling
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.

Site: www.kirupa.com Report - View Tutorial

.htaccess General Guides
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
Array Duplication Made Easy
Adobe Flash / ActionScript
To make a duplicate of an array proves more difficult than it seems.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
Incrementation or Decrementation
Adobe Flash / ActionScript
First: what does increment mean? When I say that I increment a value by 1, it only means that I add 1 to this value. There are several ways I can do that.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
_root, _parent, and this
Adobe Flash / ActionScript
_root is an alias, just as _parent and this.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

Adobe Flash ActionScript
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.

Site: www.kirupa.com Report - View Tutorial

 
Site Search

 
Categories
2D Graphics 3D Graphics Office Applications Databases Desktop Programming Web Development
 
Advertisement