Skip to content
secretrobotron edited this page Jul 15, 2011 · 9 revisions

Butter API (v0.1)

Core

Instance Methods

  • trigger
  • listen
  • unlisten
  • addTrackEvent
  • getTrackEvents
  • getTrackEvent
  • removeTrackEvent
  • addTrack
  • getTracks
  • getTrack
  • removeTrack
  • addTarget
  • removeTarget
  • getTargets
  • getTarget
  • importProject
  • exportProject
  • setProjectDetails
  • getProjectDetails
  • play
  • pause
  • currentTime
  • getAllMedia
  • getCurrentMedia
  • getMedia
  • setMedia
  • addMedia
  • removeMedia

Class Methods

  • getScriptLocation
  • registerModule
  • extendAPI

Track

Methods

  • getName
  • getId
  • getTrackEvent
  • getTrackEvents
  • removeTrackEvent
  • addTrackEvent

TrackEvent

Attributes

  • start
  • end
  • type
  • popcornOptions
  • popcornEvent
  • track

Methods

  • getName
  • getId

Target

Attributes

  • object

Methods

  • getName
  • getId

Media

  • setMedia
  • getMedia
  • getName
  • getTracks
  • addTrack
  • getTrack
  • removeTrack

Comm

CommClient

  • listen
  • forget
  • send

CommServer

  • bindFrame
  • bindClientWindow
  • listen
  • forget
  • send
Clone this wiki locally