Archive for the ‘Code snippets’ Category

Change functionality based on flash player type

Usually, when you code, you might find that you need to change a few things in the code based on whether you are working locally or on a web host. For example, suppose you are sending a request to a server side script (emailing for instance) called “email.php”, if you are working from inside flash, [...]

Recursively go through all the directories

Though this is a very simple task, it is a very intersting one to do because it can have many applications, like deleting files, renaming them based on a sequence, etc. In this code snippet, I’ve applied this technique to rename all the image files with extension “JPG” to “jpg” (to maintain standards and uniformity). So [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes