playReverse

playReverse();

The playReverse method of the MultiMedia class starts the device playing from the current position in the content in the reverse direction.

If the useDotNetVersion property is set to true, the playReverse method is not available and it generates exception 1068 (Feature not available in this release).

The playReverse method does not invoke continuous loop play when the value of the repeat property is set to true.

Not all devices have the ability to play in reverse.

The method in the following example shows the use of the playReverse method.

buttonPlayReverse_click(btn: Button input) updating;
vars
    from, two : Integer;
begin
    from := textBoxFrom.text.Integer;
    two  := textBoxTo.text.Integer;
    if from <> null and two <> null then  // "to" is a JADE reserved word
        multimedia.playFromTo(two, from);
    else
        multimedia.playReverse;
    endif;
end;

See also the play and playFromTo methods.