This content has been marked as final. Show 4 replies
you should probably use an xml file. a text file could be used but creating, maintaining and processing an xml file would be easier.
Does the xml file need to be stored externally or is there a way it can be
part of the .fla file's library? I'm trying to avoid external files.
"kglad" <email@example.com> wrote in message
> you should probably use an xml file. a text file could be used but
> creating, maintaining and processing an xml file would be easier.
If you use a database, you can store all of the text on the server and
only download the text you need for the 100 questions that are chosen.
This will be a lighter memory load than keeping all of the possible
questions' text in the Flash movie all of the time. You might want to
test out two versions of the .swf to see how much larger the version is
with all of the questions vs. just 100. It may matter,it may not.
If you decide to keep the text in the Flash movie, a simpler approach is
to assign a variable to each question's text and then just place the
variables and their strings in an actionscript frame space.
if you don't keep the questions external, then every update will require editing your fla. ie, this can't be maintained by someone with minimal skills.