OK. I am making a graphical tool that will create a XML file which “maps” out a scenario. This scenario is something that a student goes through and answers questions which takes them to another part of the story based on their answers.
Anyway, in this tool a user can drag and drop files (movie clips) onto the stage, name them and select the number of choices they want to present to the student for this part of the scenario. These folders represent portions of the scenario.
Then the user can draw lines between the folders “mapping” the choices to other corresponding folders.
My question is; When the user draws a line from a choice to its corresponding folder how can I capture this information and keep it all associated with that first folder?
I am thinking about using a dictionary. The dictionary would be indexed with the name of the folder. Then choice/destination folder names can be stored in arrays inside the dictionary.
If someone thinks that this sounds interesting and would like to look at the .fla that would be great. Any other suggestions would also be great.