I've been developing a CBT package that includes animated
demonstrations of the use of some software. The animations have been
programmed to include the following elements:
- automated mouse movement
- automated text input
- automated button clicking
- automated field scrolling
- voice-overs
- appearing and disappearing elements, etc.
The whole idea is to give the impression of an unseen human guiding
the user through various processes.
A key feature is the ability for the user to abort a given animated
demo. I tried doing this by encapsulating each animated demo in a
'try' statement and telling the user that they could Ctrl+dot to
abort a sequence part way through. However, whenever the user aborts
during the playback of a voice-over segment an error dialog appears.
This also happens during non-sound parts of the animation but in a
less predictable fashion.
In the end the only way I could get round the problem was to resort
to the "deprecated" approach of setting the 'lockErrorDialogs' and
handling the 'errorDialogs' message. This worked fine and allows
immediate termination of sound segments as well as all the other
elements.
Any ideas why the 'try' method didn't work, especially with sound?
Also, can anyone suggest a more appropriate or elegant approach?
Best regards
Peter
--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)1509 264986
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk