AVI Files with Hot Spots

The AVI Hotspot Editor (AVIHED.EXE) and its accompanying dynamic-link libraries (DLLs) AVIHVWR.DLL and AVIHAPP.DLL provide you with the ability to specify hot spots for audio-video interleaved (AVI) files, much as you can specify hot spots for device-independent bitmap (DIB) files with the segmented hypergraphics hot-spot editor (SHED.EXE). The AVI hot-spot kit can be used with Microsoft® Multimedia Viewer or with a stand-alone application by using the correct DLL.

The AVI Hotspot Editor You use the AVI Hotspot Editor to create and edit the hot spots for an audio-video interleaved (AVI) file. Hot spots can cover overlapping areas in an AVI file as long as their Begin and End frames do not overlap. For each hot spot, you specify a command string, a hot-spot ID, and (optionally) a beginning and ending frame. Using the Hotspot Editor After loading the Hotspot Editor, choose File Open to open an AVI file. You will be prompted for a hot-spot (.INI) file. If you are creating hot spots for the first time for the specified AVI file, choose Cancel because you do not need to open an .INI file. Once the AVI file is loaded, you can start drawing hot spots on this file. To do so, click the left mouse button, hold it down, and draw the hot spot that you want. To specify hot-spot attributes, double-click inside the rectangle you have created. To adjust the position of a hot spot, put the mouse cursor inside the rectangle, click the mouse button, and move the rectangle while holding the button down. To change the size of the hot spot, click and drag one of the hot spot's edges. You can delete a hot spot by clicking inside its rectangle and pressing the Delete key or choosing Delete Specified Hotspot from the Hotspots menu. When a hot spot is selected, its rectangle coordinates will appear in the Selected Hotspot Info window. Hot-Spot Attributes In the Hotspot Attributes dialog box, you can specify the following information: A command string, which is the command that is executed in Viewer when the hot spot is selected (for example, you might specify sndPlaySound(‘hello.wav’,1) ). A hot-spot ID (for example, Hotspot 1). The hot spot's bounding box, that is, its rectangle coordinates. The hot spot's active frames (so that more than one hot spot can be specified for overlapping rectangle areas during different frames). Hot-spot selection options that change the action of the AVI file when the hot spot is selected, to continue playing, terminate playing, or jump to a specified frame in the same AVI file.

Author(s): David A. Feinleib

Related items:
ASP Today
Interesting article from our article base (James Britt, Teun Duynstee)
XML based website
The Pitfalls Of IIS Security (Ulrich Schwanitz )