First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Jei Gaither | Website: http://www.eslacker.com/

Your Flash movie is essentially going to act as a web browser, in that it will get information from a CGI script in the same method that a web page would get a result from a CGI script. For instance, if a user fills out a form and a CGI script process the user's response, the CGI might display a confirmation message that the user's response has been received. This info is passed in the Header of the file and is essentially a string of name/value pairs separated by ampersands (&). This type of string may look something like:


But wait. It ain't quite that simple. You might have noticed that there are ASCII symbols in the above string. Well, these symbols need to be converted (URL-Encoded, i.e. broken into values that browsers and servers can interpret, regardless of platform) to Hexidecimal values escaped by a percent sign (%). Don't worry. It sounds more complicated than it is. Here's a valid URL-Encoded string:


In this case %40 represents the @ symbol, and %2E represents a period.

For a table of the corresponding hexidecimal values of extended ASCII characters, check out www.cis.udel.edu/~totten/ascii/. You'll just need to prepend each value with a %.

Having said all of that, here's some good news for you ASPers out there: "Forget what I just said." In ASP, you can use the Server.URLEncode() function to convert a regular string to a URLEncoded string. For those of you using PHP, I *think* there's a similar function, but I haven't messed with it at all. Check out PHP.net or PHPBuilder.com for more info.

» Level Advanced

Added: 2000-12-14
Rating: 8 Votes: 73
(10 being the highest)
» Author
Jei Gaither is a web developer in Austin, TX. His projects out-weigh his spare time, but he still manages to find new uses for Flash and creative interfaces.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.