I'm creating this "Phone Contacts Numbers Saving Tool" for people who constantly losing their phone contacts numbers. I achieved making 2 dynamic textboxes "Name" "Number" so you put your name and number, then a button to "Create Contact". Then that info is saved into 2 dynamic textboxes columns, one is for Names and the other for Numbers. This is the script:
I want to be able to "edit" or "delete" an specific contact/number from the list. Every time you click the "create contact button" it adds the name and the number with
The numbers and names are automatically saved into a Shared Object, so, everytime you open the flash, it shows all your contact numbers and names. But now i need to be able to edit these numbers/names, or/and delete them.
But now i have this mental issue. If user wants to delete a "contact", they would have to count the line of that contact in order to delete it. Suppose the contact is Richard, but theres a lot of contacts with A, B, C, D, etc, the user will have to count one, two, three, twenty, twenty one hehe.
So, i'm thinking in a way of creating the Names and the number dynamic textboxes "dynamically", so each contact is loaded in it's own textbox or an empty movieclip, and theres a "X" button to delete the desired contact. E.g if i want to delete "Richard" i simply scroll down a main scrollpane with all the generated dynamic texboxes or movieclips, and besides "Richard's" name or number, theres an "X" button, I press it and that dynamic texbox or that movieclip get removed.
Here you go, not quite what you desired but it does give you line numbers to make it easier to control, plus some added functionality.
just clear the shared data first then do your business.
But i know you know it's much better the way I said last, if each time you press "Add details" an empty movieclip or a dynamic textbox is created one below the other forming a column, then you just "remove" that moveclip or that dynamic textbox in order to delete/remove a contact. I'm not good with creating dynaamically movieclips or textboxes and modifying it so I will have to read a lot.
By now, i will study your script to learn, and I will put the names and numbers textboxes inside a Scroll pane, so the names are aligned with the numbers always, and you only scroll down the scroll pane. good job you're the best thanks
Hehe, me or Basses? xD If me, well, I paused all my p rojects. My relationship ended and I'm in this hard time. I hope get better soon and continue my projects. How about yours? Basses? Fruitbeard?
well im working mega slow because of school but little things are being upgraded in my mmo as you can see I got organized now :P even the servers home made and credit to nig13 for helping me with database