class alphatab.importer.ScoreLoader

Available on all platforms

The ScoreLoader enables you easy loading of Scores using all available importers

Class Fields

static function loadScore(path:String):Score

Loads a score synchronously from the given datasource

path the source path to load the binary file from

success this function is called if the Score was successfully loaded from the datasource

error this function is called if any error during the loading occured.

static function loadScoreAsync(path:String, success:Score ->Voiderror:String ->Void):Void

Loads a score asynchronously from the given datasource

path the source path to load the binary file from

success this function is called if the Score was successfully loaded from the datasource

error this function is called if any error during the loading occured.

static function loadScoreFromBytes(data:Bytes):Score