polyglot
Programmer
- Nov 28, 2007
- 11
Hello - I have a question... I am new to Flash and REALLY new to actionscript. I kind of have a problem that is way over my head (I am a foreign language teacher and not a programmer). I am creating a game that I want other teachers to be able to customize with their own photos by creating an xml file defining the photos to be imported into the fla file. I know that this is possible, but I have no idea how to set up the actionscript or the xml file to do this. The photos will be imported into a movie clip called "victims". The end user will click on one of the photos in the movie clip (the movie clip is set up as a scrolling clip from which users will click on one image). The image chosen by the user will appear in another movie clip called "head". I also want the name of the image to appear in a dynamic text field. So for example, say I want to import pictures of each of my family members - my husband Rob, my daughter Becky, and my daughter Natalie - into the movie clip. I will then select from the scrolling movie clip one of their pictures - say, my husband Rob. His picture then appears in another movie clip named "head", and at the same time the name "Rob" appears in the dynamic text field next to the "head" movie clip. This would mean that the xml file would have to be set up so that each image is automatically associated with the name of the person in it. Can anyone create mock-up files (both the ".fla" file and the ".xml" file) that would allow me to do this? I would appreciate it very very much!
Hopeful,
Monica D.
Hopeful,
Monica D.