This tutorial teaches how to use Actionscript 3 to Develop a Flash-Based Content Management System
Setup an unlimited number of MySQL database-driven text boxes...And your clients will be able to update their own site!
Plus they can edit their text while seeing the same layout and style as it would be live. So there's no ugly backend.
Course Overview
- Setup text boxes for username, password, and the client's editable information
- Write basic button functions for handling logging in, logging out and saving changes to the site text.
- Setup a keypress event for making the username and password boxes visible (this is optional)
- Create a database and table in MySQL for storing the information that will appear in the text boxes
- Use PHP to write URL Variables for Flash to load the site text
- Create a database and table in MySQL for storing the client's login name and password
- Use Flash and PHP to check the username and password to enable site text editing
- Save any changes the client makes to the Flash text to the MySQL database and reload the site.
- All code is written in Actionscript 3.
Cool Features...
- The demo files use Arial for the font in the text boxes, but you can use ANY font.
- You client can edit their site using the same Flash file that their viewers see. So there's no ugly HTML-based backend to this setup. Once logged in, the site's dynamic text boxes become editable input boxes.
- The database-populated text boxes can be shared among multiple files. So updating text in one page could be used to update multiple text boxes throughout the site.
- You can publish out a .swf file that only your client knows about to be used for logging into the site,
OR you can hide the username and password boxes onstage until they press an uncommon keyboard key like the tilda, ESC, tab, etc, which would then make the client login buttons visible.
Download: Part 1 | Part 2
No comments:
Post a Comment