| If you are not too sure what shared objects are or if you don't know how to use them, I suggest you have a look first at our previous tutorial using Shared Objects in Flash. In this tutorial we are going to create a simple address book in Flash. The data will be written in a shared object and will then be pulled each time we open the SWF. This address book can be used over the web or locally on your computer, it doesn't really matter since the shared object will be residing on your local machine. Before we start going into more detailed explanations, let's have a look at the final version of the application : How to use it : 1. press New to create a new entry 2. be sure that the new entry is selected and populate the fields on the right. 3. press Add to add the data to the selected item of the list, you will notice that the label will change and will be represented by the firstname. 4. to delete an entry you just need to select an item in the list and to press Del I have obviously kept the address book very simple since the main objective of the tutorial is to show you how to populate the list with data pulled from a shared object. If you feel like it, there are many features you could add to the address book : another list with letters from A to Z to just show the entries starting with a specific letter, some more details could be added too like telephone number, website address etc... Important : The data entered is saved in a shared object on your local machine not on the server side. |
Tutorial
1. Create a new FLA of 400x290
|
discuss this topic to forum
