继承定义flash.display存在冲突:名称空间public中的MovieClip.isPlaying

时间:2017-03-11 04:32:25

标签: actionscript-3 namespaces conflict flash-cs6

errore(private var isPlaying:Boolean;),我想为我的project.help我更多的mp3文件。 这是我的代码开始的:

var bin = 10;
var rel_min = 100;
var rel_max = 250;

var colorscale = [];
var color = Plotly.d3.scale.linear()
  .domain([0, 0.5, 1])
  .range(["blue", "green", "red"]);

for (var i = 0; i < bin; i += 1) {
  colorscale.push([i / bin, color(i / bin)]);
  colorscale.push([(i + 1) / bin, color(i / bin)] );
}

Plotly.newPlot('myDiv', [{
  z: heatmap,
  zmin: rel_min,
  zmax: rel_max,
  type: 'heatmap',
  colorscale: colorscale
}])

0 个答案:

没有答案