File Properties Editor |
| Properties for file compression, security, scripting and dependencies can be edited via the File Manager. To edit the properties of the files, select one or more files, then click on Properties (or press Ctrl+P). The following window will appear:
If the selected file is a HTML page, you have four tabs: Properties, Security, Scripting and Dependencies. Otherwise you only have the Properties one. PropertiesYou can see the name and the type of the selected file (or it is indicated Multiple files if you have actually selected several files). If you leave the mouse cursor on this name, the full path to the file will be indicated in a small hint window.
When a file was compiled in the publication .exe file, it needs first to be unpacked in memory in order to be viewed. This operation may require a lot of time, depending on the size of the file. External files are not compiled and consequently they must be distributed with your publication .exe file. You will generally place them in the same folder as this .exe file, or a subfolder.
SecurityThis tab is important because it provides you with several security features for your HTML pages. You can for example restrict what end users can do: copy text, print page, etc... You can also assign passwords and exclude the file from being indexed by the search engine.
HTML Executable uses a system based on "security profiles" to manage the different actions allowed for HTML pages. Security profiles determine if a page can be accessed (given some conditions like password, restricted publication, script function result...) and what end users can do when viewing this page (usual actions like copying text, printing page, copying images, etc...).
These security profiles are managed by you in the Security tab: you first create one or more security profiles (in addition to the default one always created when a new project is started) and you then use the File Properties to assign your security profiles to different HTML pages.
To assign a security profile to the selected HTML page(s), use the list to choose the one you wish. By default, the "Default" security profile is always selected.
The search engine by default automatically indexes all HTML pages when the publication is being compiled. You can prevent the selected HTML page(s) from being indexed too by turning the option named "Exclude this file from searching" on. In this case, the page(s) will be ignored. Scripting
Several reasons why you can use scripting:
Some scripts contain several functions that actually play the role of "events": when an event is triggered, the publication will execute the associated function. Script for HTML pages have events like:
You can therefore associate a script to a HTML page: when this HTML page is viewed, the associated script is loaded by the publication. Then when an event occurs, the related function is executed. Thus you may respond to a specific event with your own actions. In HTML Executable, scripts are compiled during the compilation into p-code for faster execution at runtime (contrary to JavaScript). That's why scripts are separated from HTML pages and stored in a script manager. You can manage scripts using the User Scripts tab of the main window.
Dependencies
For instance, in HTML Viewer publications, if you have a Flash movie (SWF) that requires a video file (FLV), the Flash Player does not request that video file itself and your Flash movie will not play your video.
When the HTML page is loaded, the runtime viewer extracts all dependencies to a temporary folder and thus they can be found by the ActiveX control.
|