デザインが書き直され 、コードが強化されました:)はい、そしてそのような真面目な会社であり、ポッドキャストが結びついているという事実を背景にしています(ポッドキャストで物語を終わらせたもの )。
すぐに予約すると、これらはすべて私の推測であり、請求やor辱として評価される必要はありません。 Habra Editionは、そのようなプレーヤーを異なるデザインで特別に作成し、尋ねる人( contact )に無料で提供するという事実にもかかわらず。
それらのコードは、Habraplerのコードの一部を驚くほど引用しているように思えます。
あそこ
関数initsound()
{
_root.player =新しいサウンド();
player.onSoundComplete = function()
{
_root.playerstate = "loaded";
};
player.loadSound(_root.song_url、true);
}
私が持っています
関数initsound()
{
//プレーヤーオブジェクトを作成します
_root.player =新しいサウンド();
player.onSoundComplete = function()
{
_root.playstate = "stopped";
pausebuttn._visible = false;
player = undefined;
_root.stop();
}
player.loadSound(_root.song_url、true);
}
あそこ
this.onEnterFrame = function()
{
bars_mc.loadline_mc._width = Math.round(100 * player.getBytesLoaded()/ player.getBytesTotal());
bars_mc.playline_mc._width = Math.round(100 * player.position / player.duration * player.getBytesLoaded()/ player.getBytesTotal());
};
私が持っています
loadline._width = Math.round(254 * player.getBytesLoaded()/ player.getBytesTotal());
playline._width = Math.round(254 * player.position / player.duration * player.getBytesLoaded()/ player.getBytesTotal());
あそこ
bars_mc.progress_btn.onRelease = function()
{
control_mc.gotoAndStop( "pause_pos");
play_position = _root.player.duration / _root.bars_mc.loadline_mc._width * this._xmouse / 1000;
player.start(play_position);
};
私が持っています
postn = _root.player.duration / _root.loadline._width * _xmouse / 1000;
_root.player.start(postn);
コピー&ペースト?
頑張って!