
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
290
|
Chapter 11: An OOP Application Framework
1. With AppName.fla open, choose File ➝ Publish Settings ➝ Formats.
2. Under the File heading, for HTML (.html), enter
../deploy/AppName.html.
3. Click Publish.
4. Click OK.
5. Test locally by opening AppName.html in your web browser.
6. When the local testing proves successful, upload the .html and .swf files to your
web server.
7. Test in your browser from the remote site by browsing to the URL where you
uploaded the .html file. Note that the package location and author-time folder
structure do not matter once you upload your files to the server. Packages and
classpaths matter only at compile time. Furthermore, you can upload the .html
and .swf wherever you like on your server, but in our example, the two files must
reside in the same web server folder.
It’s a good idea to test in all supported versions of the Flash Player in all target web
browsers on all target platforms throughout the lifetime of a project. If you wait until
the end of the project to test in various browsers, you might discover serious prob-
lems that would have been easier to fix if they had been caught earlier.
For detailed information on exporting and publishing Flash movies, see Help
➝
Using Flash ➝ Publishing.
Projects in Flash MX Professional 2004
To help manage the