Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Play – PB Docs 2022 – PowerBuilder Library

Play – PB Docs 2022

Play

PowerScript function

Description

Starts playing an animation (an AVI clip).

Applies to

Animation controls

Syntax

Argument

Description

animationname

The name of the animation control displaying the AVI
clip.

from

A long value in the range 0 to 65,535 indicating the frame
where playing starts.The value 0 starts playing the clip at the
first frame.

to

A long value in the range -1 to 65,535 indicating the
frame where playing ends. The value -1 stops playing the clip at
the last frame.

replay

A long value in the range -1 to 65,535 indicating the
number of times to replay the clip. The value -1 continues
playing the clip indefinitely.

Return value

Integer. Returns 1 for success and -1 for failure.

Usage

Start plays an opened AVI file in an animation control. If you
specify a value for any argument that is not in the specified range, Start
does nothing and returns -1.

Examples

This example starts playing an AVI clip at the first frame, plays to
the last frame, and continues playing the clip indefinitely:

See also

Stop


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x