<streamprogress>

JavaScript: lz.streamprogress
extends <view> » <node> » lz.Eventable »
An instance of this class will set its width relative to the progress of the given stream and its maxwidth attribute. It is green by default; however, to make it appear with a resource, you may set the bgcolor to null and provde a resource (and don't forget to set stretches attribute).

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
bgcolor expression any green read/write
   
height expression any 10 read/write
   
maxwidth number Number parent.width read/write
  max width that this will grow to (defaults to parent's width
progress expression any 0 read/write
  a value between 0 and 1 indicating how much of the stream has played
stream expression any null read/write
  stream for which to show the progress
time expression any 0 read/write
  read-only
totaltime expression any 0 read/write
  read-only
width expression any 0 read/write
  starting/current width (default: 0)

Methods

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy