Some important bug fixes: (you'll remember if you asked about this)
- Activ Script EXIT bug
- Cache clearing bugSplash screens
- Set time delay
- Displayed much earlier during load process
- Optional % bar underneath while book is loading
Speed
- EBooks load much faster. This is probably not noticeable on small ebooks, but on large ones, you should have a noticeable improvement
Form processing in Activ Script
- You can now link HTML forms to Activ Script commands. Simple example at the bottom
Setting up the colors (Edit System Pages)
- This now uses the correct colors, and shows HTML hex color codes.
Prompts/Language
- Most of the text/prompts/menus/etc. now come from a separate language file. When you compile your ebook this is included automatically
- This has a couple of benefits:
1. It reduces the ebook size (by about 40K-50K in a typical example)
2. Potentially this file is editable. This allows you to translate menus, dialog boxes, toolbars etc. or simply change the names of things. The reason I say potentially is that we don't yet have an editor for these files... BTW there are some special cases, but overall I expect this to work pretty well for 8-bit languages that use Left-To-Right text in the standard character set. So this would include German, French, Spanish Dutch, Portuguese etc. It wouldn't (say) include Chinese (16 bit character set), Russian or Greek (different character set), or Hebrew (Right to left and different character set)
----
Here is an example of how to do a form:-
In an HTML file include this:
<FORM METHOD="POST" NAME="DoesntMatter" ACTION="#!form.as">
First Name
<BR><INPUT TYPE="TEXT" NAME="First" VALUE="" SIZE="32>
<BR><BR>
Last Name
<BR><INPUT TYPE="TEXT" NAME="Last" VALUE="" SIZE="32>
<BR><BR>
<INPUT TYPE="SUBMIT" VALUE="OK">
</FORM>
In a text file called form.as include this
FSET('firstname','First')
FSET('lastname','Last')
MESSAGEBOX('Hello {firstname} {lastname}')
Explanation
In the HTML ACTION= in the form contains an Activ Link, containing the Activ Script code. In this example, an Activ Link to run form.as
In the Activ Script code, the FSET command, reads the name of a form field (case sensitive!) and sets it into an Activ Variable. So in this case I make Activ Variables called firstname and lastname. As this is a stupid example, I simply display a message box rather than do something useful!