Navigation

Sunday, September 12, 2010

Mid-File Loop in Flash

I just improved the loop player. For the first time in FLASH HISTORY, you can now loop mid-way through. Take this mp3 of the Star Ocean 3 victory music for example:

[ Download MP3 ] Loop Player Params:
  • file - url to file (required)
  • samples - raw wav samples (obtain from decent editor such as goldwave. use source wav file)
  • buffer - decoder buffer, 2048 - 8192. (default 4096 if not specified)
  • volume - initial playback volume 0 - 100 (default 50)
  • start - start position in samples (default 0)
  • loop - loop position in samples. this is where the player returns to when it reaches the the value of the samples param. (default 0)
  • autostart - starts the playback automatically once loaded (true or false, 0 or 1) (default false)

No comments:

Post a Comment