sound_class.h

来自「flirt 一款纯c的flash解码程序。」· C头文件 代码 · 共 38 行

H
38
字号
/*
 Flirt, an SWF rendering library
 Copyright (c) 2004-2006 Dave Hayden <dave@opaque.net>
 All rights reserved.
 
 http://www.opaque.net/flirt/

 This code is distributed under the two-clause BSD license.
 Read the LICENSE file or visit the URL above for details
*/

/*
  new Sound(target)
  target- The movie clip instance on which the Sound object operates.  If you do not
  specify a target instance, the Sound object controls all of the sounds in the movie.
 
  attachSound
  getBytesLoaded
  getBytesTotal
  getPan
  getTransform
  getVolume
  loadSound
  setPan
  setTransform
  setVolume
  start
  stop

 properties:
  duration- length in ms
  position- # of ms sample's been playing

 handlers:
  onLoad
  onSoundComplete
*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?