When using Flex Builder to test a Flex application, it will call the default system comes directly from the browser case of bin-debug file
folder to open the corresponding html file pieces. The browser URL address format such as File: /// C: / AllESRI / Moxie / dev / FlexViewer / bin
. -Debug / index.html
However, although it can run the program in this way, but this is not the test Flex applications the best way to program . If you want simulates a
of configuration from a Flex application running HTTP server environment, better testing needs to be done with a local server .
Use the Windows development environment as follows:
windows7IIS installation: https: //www.cnblogs.com/manmanlu/p/5917169.html
After editing project modifications, run before the need to rebuild: Ctrl + B
Under the newly created virtual directory should be bound to create Flex Viewer project's bin-debug FB disk path to the folder, which
there are test program generation.
In this example, the name of the virtual directory flexviewer, so that you can use http: // moxie1 / flexviewer as the URL from the
access network server of the virtual directory, which is moxie1 computer name.
Step Two: Configure assigned to the virtual directory created in Flex Builder;
Open Sample Flex Viewer application's Project Properties window in flex Build Path , set as follows, type virtual
directory URLhttp: // moxie1 / flexviewer as the location of the output folder.
Once the setup is complete URL, then you can run your own program from Flex Builder, it will be served from a specified network
load and run the next task path.
Reproduced in: https: //www.cnblogs.com/yingyigongzi/p/10640696.html