AdobeBridgeCS5SDK

Class SnpCreateFlashControl

Object
   |
   +--SnpCreateFlashControl

class SnpCreateFlashControl


Shows how to load and run a Flash movie in Bridge using the ScriptUI FlashPlayer.

Usage

  1. Run the snippet in the ExtendScript Toolkit (see Readme.txt), with Bridge CS5 as the target.
  2. You should see a new tabbed palette in the Bridge browser window, showing a Flash movie.

Description

Adds a script-defined tabbed palette to the Bridge browser window that plays a Flash movie.

The tabbed palette is of the "script" type, and contains ScriptUI components, including control buttons and a FlashPlayer element. The new palette appears in the default upper-left corner of Bridge.

Loads the Flash movie, an SWF file, into the FlashPlayer component using control's loadMovie() function. The 'file' parameter must be a valid ExtendScript File object that references any type of Flash file.

See the JavaScript Tools Guide for details of Flash Player controls.

See:

Defined in SnpCreateFlashControl.jsx


Field Summary
 File flashFile
          The Flash movie to load into Bridge
 Object paletteRef
          
 String requiredContext
          The context in which this snippet can run.
 
Constructor Summary
SnpCreateFlashControl()
           
 
Method Summary
 Boolean canRun()
           Determines whether snippet can be run given current context.
 Boolean run()
           Functional part of this snippet.

Field Detail

flashFile

File flashFile

paletteRef

Object paletteRef

requiredContext

String requiredContext

Constructor Detail

SnpCreateFlashControl

SnpCreateFlashControl()

Method Detail

canRun

Boolean canRun()

run

Boolean run()

AdobeBridgeCS5SDK

http://www.adobe.com/devnet/bridge
Documentation generated by JSDoc on Tue Apr 27 10:21:34 2010