First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Jeffrey F. Hill | Website: http://www.flash-db.com

Part 5 - Installation

This is the most important part of this tutorial. Try to follow the installation instructions as closely as possible.

1) Create a directory called ECards on your server.

2) Upload the Flash files: Ecards.swf, Ecard1.swf, Ecard2.swf, Ecard3.swf, Ecard4.swf, Ecard5.swf and the 2 php files (SendEcard.php and SelectCard.php) to this directory.

3) Create a directory called 'dBText' within the ECards directory. You need to change the permissions of this directory. Basically you have to allow others to write information to this directory. The easiest way to do this is to use an ftp program such as ws_ftp or cute_ftp. The owner permissions should be set to read, write, and execute. The other permissions should be set to read and write. In most cases you can do this by right clicking on the directory you just created and selecting chmod - then you can check off the check boxes that correspond to those directory permissions. If you are having trouble with this just check off all the boxes or use Telnet to change the permissions on this directory to 777. (Note 777 should only be used for testing, since it can become a security issue).

4) Change the Link in the 'SendEcard.php' script to that of your own site. For example if your site was called EcardsDesignEmporium then you would change http://www.flash-db.com/Ecards/SelectCard.php?EcardText=$CreateEcard&ENum=$EcardNum to http://www.EcardsDesignEmporium.com/Ecards/SelectCard.php?EcardText=$CreateEcard&ENum=$EcardNum (on line 15).

5) You will also have to change the line of actionscript located in the first frame of each individual Ecard.

6) The EcardFooter is an optionial item you can add in that allows people to forward the card on. This file is not necessary, but you should make the necessary changes in the 'EcardSelect.php' file if you are not including it. This basically involves getting rid of the second set of <object> and <embed> tags located at the bottom of that file.

loadVariablesNum ("http://www.yourSite.com/E-Cards/dBText/"+EcardText+".txt", 0);

Change the above line of code so that 'yourSite.com' really is the link to your site.

» Level Advanced

Added: 2001-12-04
Rating: 8.95 Votes: 123
(10 being the highest)
» Author
Jeffrey Hill is a freelance web developer from Boulder, Colorado. He specializes in creating and developing dynamic database driven Flash content. Being a recent graduate of the University of Colorado - he somehow finds time to write these tutorials.
» 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.