Tutorials

Tutorials

This category contains 7 articles

You are Currently Having a Look at Tutorials

PHP, Actionscript, Tutorials, Help & Advice


AS3 Quick Tips: Publishing HTML with the Root Path as the SWF Directory

This was something that had been bugging me for a few days.
I Had a SWF that had to load a config.txt file when it loaded, this used a relative link (eg “config.txt”). That all works fine testing in the Flash IDE, but as soon as i embeded it into a HTML doc my relative links [...]

PHP: Submit a Form Automatically or PHP Spam Bot

Hi there, I’m posting you something PHP related, however it wasn’t intially made to be malicious. It was designed for a client who had multiple submission forms and want to test them all at once. In this instance, I have designed and created a little function which allows for re-usable code.
PLEASE NOTE THAT THE QUOTATION [...]

AS3 Math Basics: Add Velocity Physics to a Movie Clip

Hello, So i finally dragged myself away from playing the Left 4 Dead demo and RA3, to bring you yet another AS3 tutorial.

AS3 Basics: Sending Variables from AS3 to PHP

Hello and welcome to another quick AS3 tutorial. As with any client-side application, eventually you’ll want to comunicate with a server, for instance to display scores and such. This is something that Flash has been able to do quite a few versions back, but some of you may not know what the AS3 equivalent is. So Here we go.

PHP Basics : Get Command - Using URL Queries & Variables

Please Note: The code in this article uses the incorrect quotation marks (”), please subsitute with standard ones on your keyboard them when copying & pasting the code from this article.
Hey chaps, it’s time for something useful, lately we’ve been practically pounding you with game reviews, probably to the point you have actually forgotten what programming [...]

PHP Basics: PHP Functions Explained Tutorial

IMPORTANT NOTE: If you copy code out into your editor, it copies the wrong type of quotation marks “. Please use standard ones or your scripts wont work. (shift 2 gives you normal ones)
Functions, are a handy tool in any language, and PHP is no different, so today we’re going to get your php functions [...]

PHP Web Applications Design Process

When it comes to designing an application, sometimes the most difficult part is actually starting it, and seeing a means to an end - the finish.
I’m going to chat about my method for designing & building applications, it isn’t the 100% suggested method, but quote often with these things you have to go with what [...]

PHP Quick Tips: How to check if a number is odd or even using modulo

When developing in PHP, you’re going to encouter the problem of checking if a number is odd, or even. It can be used to stagger an output & alternate the row colours (creating a striped effect) - or be used for a more complicated calculation. To achieve this you can use the special operator called “Modulo” (admit it, it sounds cool!).

AS3 Quick Tips: How to check if a number is odd or even

At some point in a developers life you find the need to check if a number is odd or even. Whether it be to make a staggered output (alternating row colours) or a more complicated calculation. For this purpose there is a special operator called “Modulo” (admit it, it sounds cool).

PHP Basics: Limit Characters of a String or Input substr

Hi all, this is a handy tutorial in php to limit the number of characters. I recently did this for a project I’m working on, where I need to limit a post code form field to only show part of the post code, but this has other uses too, I do realise this is relatively [...]