Hi everyone,
I am currently porting an project to Flash so I can host it on a webpage, and have a query about the GET Object and the Flash Exporter.
The game is an anti-phishing educational tool, it is for an experiment.
Previously, a set of example phishing URLs ("game data") was being loaded using an INI file. So, rather than rewriting the game such that it doesn't use an INI file for this purpose, I would like to use the existing INI file by loading it from a web-server. So in the new project, I am using the GET object to grab the existing INI file from my web-server and then using the EditText object to then save it as a local INI file. This works fine inside MMF, as shown below (retrieving the GET data as a string object):
Please login to see this attachment.
However, when I export the project to SWF, the GET object only seems to be grabbing the first line of the INI file from the web server, as shown below:
Please login to see this attachment.
Is this a limitation of the GET object? Is this a limitation of the String/Edit Text object in Flash? Is the Flash version of the GET object expecting the results in a more specific format? Or is there a better approach you could suggest?
Thank your for any assistance!
With Regards,
Adrir
Edit: FYI, I modified the first group within the INI file for diagnostic purposes.