Packageorg.si.sion.sequencer.base
Classpublic class MMLSequenceGroup
InheritanceMMLSequenceGroup Inheritance Object

Group of MMLSequences. MMLData > MMLSequenceGroup > MMLSequence > MMLEvent (">" meanse "has a").



Public Properties
 PropertyDefined By
  hasRepeatAll : Boolean
[read-only] does this song have all repeat comand ?
MMLSequenceGroup
  headSequence : MMLSequence
[read-only] head sequence pointer.
MMLSequenceGroup
  sequenceCount : int
[read-only] Get sequence count.
MMLSequenceGroup
  tickCount : int
[read-only] Get song length by tick count (1920 for wholetone).
MMLSequenceGroup
Public Methods
 MethodDefined By
  
MMLSequenceGroup
  
alloc(headEvent:MMLEvent):void
Create new sequence group.
MMLSequenceGroup
  
append new sequence
MMLSequenceGroup
  
free():void
Free all sequences
MMLSequenceGroup
  
get sequence
MMLSequenceGroup
Property Detail
hasRepeatAllproperty
hasRepeatAll:Boolean  [read-only]

does this song have all repeat comand ?


Implementation
    public function get hasRepeatAll():Boolean
headSequenceproperty 
headSequence:MMLSequence  [read-only]

head sequence pointer.


Implementation
    public function get headSequence():MMLSequence
sequenceCountproperty 
sequenceCount:int  [read-only]

Get sequence count.


Implementation
    public function get sequenceCount():int
tickCountproperty 
tickCount:int  [read-only]

Get song length by tick count (1920 for wholetone).


Implementation
    public function get tickCount():int
Constructor Detail
MMLSequenceGroup()Constructor
public function MMLSequenceGroup(owner:MMLData)



Parameters
owner:MMLData
Method Detail
alloc()method
public function alloc(headEvent:MMLEvent):void

Create new sequence group. Why its not create() ???

Parameters

headEvent:MMLEvent — MMLEvnet returned from MMLParser.parse().

appendNewSequence()method 
public function appendNewSequence():MMLSequence

append new sequence

Returns
MMLSequence
free()method 
public function free():void

Free all sequences

getSequence()method 
public function getSequence(index:int):MMLSequence

get sequence

Parameters

index:int — The index of sequence.

Returns
MMLSequence