How to Use the index.html File
How to Use the index.html File
I included a default index.html file for authors with either a Flash or ColdFusion background. First, for those in a hurry, the HTML is already written for you; the CaptivatePlayer is embedded into the HTML with the necessary code to make it play in the full screen in the browser. Second, for those incorporating CaptivatePlayer into their own website design, you can copy and paste the code for embedding CaptivatePlayer.
For more details, refer to readme_index.txt, included in the ZIP file you downloaded in the Requirements section. It explains in detail how to customize and use the index.html file.
The CaptivatePlayer Source Files
There are many ways you can use CaptivatePlayer (as an embedded SWF file in HTML or as an EXE file) and it can be confusing understanding all the files included in the ZIP that you downloaded in the Requirements area.
After unzipping the archive, the base level directory has two folders and three files (Figure 10).
For Flash Developers who need to use the CaptivatePlayer in an existing Rich Internet Application, the necessary files are in the “Flash MX 2004 Install” folder. Included is the MXP, which installs the CaptivatePlayer as a component in the Components Panel. I’ve included the MXI and SWC for Flash Developers who need those instead.
For Flash Developers who have more specific needs to customize CaptivatePlayer, the “Source Files” folder contains the FLA file, created in Flash MX 2004 and source AS (ActionScript) files. This folder contains everything a Flash Developer needs to customize the design of the CaptivatePlayer, tweak the way it works, add functionality, and/or compile a customized version. A default setup file, used to initialize the CaptivatePlayer, is included in the includes folder.
Comments