swfAddPlayerControls: swfAddPlayerControls

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Generates play and stop buttons at the specified position.

Usage

1
2
swfAddPlayerControls <- function(x, y = NULL, inset=.1, 
	play.col = "green", stop.col = "red")

Arguments

x

A character string indicating the position of the controls (as in legend) or the x coordinate of the center of the controls.

y

The y coordinate of the center of the controls.

inset

If x is a character string then inset is used to determine the padding from the borders of the plot. Units are proportion of the plotting region.

play.col

The starting background color for the play button.

stop.col

The starting background color for the stop button.

Details

Adds player controls (play, stop) at the given position. The position may be specified as a character string such as in legend. If an animation is being generated then controls must be added to every new frame. In other words, if a new top level plotting function is called and a new frame is generated, the controls on the last frame will be destroyed.

Value

swfAddPlayerControls returns no values.

Author(s)

Cameron Bracken cameron.bracken@gmail.com

See Also

swfDevice-package, swf

Examples

1
2
3
4
## Not run: 
	#Coming soon

## End(Not run)

cameronbracken/swfDevice documentation built on May 13, 2019, 11:02 a.m.