Using Flash objects (SWF) in compiled publications |
Applies to HTML Viewer, IE Browser publications Adobe Flash® is a file format used to rich Web content over the Internet using Adobe® Flash Player. IE Browser and HTML Viewer publications can display Flash content (in SWF format) provided that the Adobe® Flash Player is installed. Some Flash files may require external files (like images, XML files...) in order to work:
If you do not want to use the Special Extension list way (for instance you want to avoid all of your JPG files from being unpacked to the hard disk), you can also use the Dependencies feature, as shown in the example below.
Working Example in IE Browser publications
This Flash movie (carousel3.swf) loads its data from a XML file called "icons.xml". The XML extension is by default in the Special Extension list so the Flash movie is able to load the XML file without any problem. However this XML file contains references to additional PNG files (icon1.png, icon2.png, icon3.png and icon4.png). The PNG extension is not in the Special Extension list; therefore these iconN.png files won't be extracted and the Flash movie will fail. Two solutions: you can add ".PNG" to the Special Extension list (not recommended because this would cause any PNG file of your publication to be unpacked to the hard disk) or you can use Dependencies. For this example, we selected this page in the File Manager and in the File Properties window, we added the four iconN.png files as dependencies of the page:
When the page is loaded, the required iconN.png files are made available and the Flash movie can load them too.
Flash movie sample by Lee Brimelow from http://www.gotoandlearn.com Working Examples in HTML Viewer publications
| |