Playing Video, Sound, Flash and Acrobat files

To embed Shockwave Flash (.SWF), Acrobat (.PDF), Video or Sound files inline in in an HTML document always use the corresponding Insert command in the Built-in HTML Editor.
The Insert menu will create a correctly formatted OBJECT tag, compatible with Internet Explorer.

Use the appropriate command inside the Insert menu, according to the kind of file that you want to insert:

Warnings:

How to warn the user if Acrobat, Flash or VIDEO viewer or codecs are not installed

 Shockwave Flash files

Flash movies cannot load files when compiled inside ebooks, so they must be completely self-contained.

Use FS Command statement to send commands to the publication. FS Command has two parameters: Command and Argument. Enter the string you want to send in the Command box. The Argument parameter is not used.

HyperMaker Ebooks can recognize these commands:

 Window control Commands:

close
minimized
maximized
hide
normal
coord top, left, width, height

File related Commands:

loadpub

Loads an Ebook which was compiled as an .htz5 file.

Example
loadpub myPub.htz5

loadfromfile:

The loadfromfile macro loads an HTML document for viewing, where Filename is the name of the file to be loaded. If Filename has no extension, .HTM is assumed.

Filename may optionally contain a document position identifier separated from the actual filename by a # sign.

Filenames with extensions .bmp, .gif, .jpg, .png, or .jpeg, are loaded as images. Filenames with the extension .txt are loaded as text files.

Example
loadfromfile MyHTML#Contents

would load MyHTML.htm and position the view to the location where the "Contents" target was defined.

loadtargetfromfile:

(similar to loadfromfile)

The loadtargetfromfile method loads an HTML document into a target frame. Target is the name of the frame where the document is to be displayed, and Filename is the name of the file to be loaded. Use _blank as first parameter, in order to open the file into a new window.

Filename may optionally contain a document position identifier separated from the actual filename by a # sign.

Filenames with extensions .bmp, .gif, .jpg, or .jpeg, are loaded as images. Filenames with the extension .txt are loaded as text files.

Example
LoadTargetFromFile RightWin, MyHTML.htm#Contents

 Adobe Acrobat files

The Acrobat Reader version for opening the .pdf documents embedded in the Ebook should be installed.

 Video files

Use video file extensions included in the default video extension list (the list can be set in Preferences window).

 Sound files

.mp3, .wav and .mid file are supported.

Sounds can be player in other ways than embedding them in the page. Learn More.