Categories

Partners
  • Adobe Photoshop Tutorials

  • Website Templates

  • Free Stock Photos and Images

  • Adobe Photoshop Tutorials
  • Search


    Advanced Search




    Partner Links
  • Flash Web Sites

  • flash websites


    How to Use the index.html File
    Published  06/28/2006 | Macromedia Captivate
       




    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).

    The contents of the ZIP file, unzipped

    Figure 8. The contents of the ZIP file, unzipped

    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.

    The three files in the Flash MX 2004 Install folder

    Figure 9. The three files in the Flash MX 2004 Install folder

    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.

    The files in the Source Files folder

    Figure 10. The files in the Source Files folder

    Article Series
    This article is part 7 of a 8 part series. Other articles in this series are shown below:
    1. CaptivatePlayer: Delivering Captivate Content on the Web
    2. The Captivate Workflow
    3. Using CaptivatePlayer
    4. How CaptivatePlayer Works
    5. Configuration Options
    6. How to Use the Play List XML File
    7. How to Use the index.html File
    8. Where to Go from Here