I've been asked to put together a proof of concept where Flex loads an XML file. I did and now I'd like to email the SWF and XML file and have the user just click and work instead of putting it up on a server.
I've added use-network=false in my compiler arguments 开发者_如何学Pythonbut that doesn't work. I'm still seeing a blank screen.
Any ideas on how I can do this, please?
Thank you!
Zip your bin-debug folder. Make sure your xml is in there as well. Send it across and ask them to launch the swfFile.htm file in the bin-debug folder. Note: bin-debug folder is referred as output folder in your Flex project.
Put the xml file on a web server and you won't have an issue.
If you want it to read from the local disk, open the .swf in the viewer and create a projector file - then it will be able to access the local hard drive without issue.
Let me know how it goes :)
精彩评论