1. You could place the XML or raw data in the Flash movie or in external
Flash movies. In the latter case the main Flash movie would then load the
external Flash movie and use the data. Again only a skilled ambitious person
would attempt the decompiling and analysis process. If the external movie is
played they would see nothing since it only has code.
For desktop Flash implemented application you could deliver new quizzes via
updated external Flash movies containing the quiz data.
2. You could use a server side script that gets an XML structure from Flash
that has a unlock value and then the script returns the XML. If the script
does not get the correct lock value it returns a blank web page or a web
page with whatever. You Flash movie XML would then use sendAndLoad to
connect to the script and other than the send XML value(s) your Actionscript
would be the same.
Still a real ambitious person could get the unlock code from decompiling the
Flash movie with third party tools. If that is an issue, then you could
request the unlock code in your Flash movie and change it from time to time
in the server side script.
--
Lon Hosford
www.lonhosford.com Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com May many happy bits flow your way!
[quoted text, click to view] "Flash Dhana" <webforumsuser@macromedia.com> wrote in message
news:e689u5$g4v$1@forums.macromedia.com...
is there anyway to protect xml file from the user.. i have questions and
answer
in the xml file.. its a flash quiz, once i delivered to the client they can
open the xml file and see the answer.. i want to do something.. please
suggest.