On this project, Graphic Visions Inc. handled all of the design aspects of the Flash-based project while O6 contributed a combination of Flash ActionScript and PHP programming. While GVI was responsible for the look and feel of everything, we handled functionality.
GVI had already created a system for creating E-Cards, our challenge was to develop a system that would allow those cards to be saved and then opened by the recipient.
We used ActionScript’s LoadVars functions to pass a series of variables from the Flash movie to a PHP script, which saved the appropriate information to a database and sent an email to the card’s recipient informing them how to view the card.
When the card is viewed, ActionScript makes sure that a valid card ID is available. If it’s not, it redirects the user to a frame of the movie where they can re-enter the card ID. If no ID is available, it take them to the frame where they can begin work on a card. If a valid ID is present, it opens the card.
Opening the card is accomplished with another LoadVars object. The card ID is passed to a PHP script that finds all the related info and returns it to the Flash movie. ActionScript then takes the supplied variables and rebuilds the card from them before displaying it to the user.
The site was named the Adobe/Macromedia Site of the Day for December 21, 2005.
The above text and images were copied directly from the portfolio of my former development company, O6 Web Services, as I imported it over to this blog. It was not updated for re-publishing. This project launched in December 2005.