BB FlashBack SDK: FBExportToSWFParams

ControlBarMode

Description

Determines what control bar will be embedded into the exported SWF file.

Syntax

[C#/C++]
public long ControlBarMode;

[VB.NET]
Public Property ControlBarMode As Long

Remarks

SWF exports can optionally (determined by AddControlBar) contain a set of playback controls that can be used to stop, pause, jump forwards and backwards in the movie, etc.

ControlBarMode selects either one of the pre-defined control bars or a custom control bar SWF file.

Value

Control bar used

-1

Custom control bar SWF.

0

'metallic'

1

'cool white'

2

'media player'

If a custom control bar is selected, the name of the SWF file should be defined in the ControlBarName property.
 

More about custom control bars

FlashBack SDK allows you to create your own playback controls for use in Flash exports. These need to be supplied in the form of an SWF file that contains some specific objects needed to make the export work.

To be able to create the SWF file, you will need a Flash authoring package like Macromedia Flash. This help text assumes knowledge of authoring Flash movies.

The SWF you produce will need to conform to these requirements:

  • The main movie surface can have any dimensions.

  • There are must be two MOVIE CLIPs on the main surface:

    • An empty clip with the name 'SWFplaceholder' at the position (0, 0). The SDK will insert its movie here during the export process.

    • The controls clip with the name 'Controls' at any position.

  • The Controls clip should be at least as wide as the exported FlashBack movie.

  • The Controls clip manages the SWFplaceholder clip via standard ActionScript commands (play, pause, stop etc.)

  • The Controls clip should not be scaled, since its size is used in calculating the dimensions of the movie.

 

 

See also

FBExportToSWFParams::ControlBarName  FBExportToSWFParams::AddControlBar  FBExportToSWFParams::ControlBarPosMode  FBExportToSWFParams::ControlBarPosOver