[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Combined Code (1.24 KiB) ●
frame 1 {
function adjustVolume() {
bgSound.setVolume(-(3.4 * this._x));
}
bgSound = new Sound(this);
itquit = false;
itgoes = true;
bgSound.attachSound('sound1');
bgSound.start(0, 99);
slider.slideBar._x = -30;
slider.slideBar.onEnterFrame = adjustVolume;
slider.slideBar.onPress = function () {
slider.slideBar.onEnterFrame = adjustVolume;
startDrag(this, false, -30, 0, -3, 0);
};
slider.slideBar.onReleaseOutside = function () {
stopDrag();
};
slider.slideBar.onRelease = slider.slideBar.onReleaseOutside;
stop();
Btn_Mute.onPress = function () {
if (bgSound.getVolume() != 0) {
oldVolume = bgSound.getVolume();
slider.slideBar.onEnterFrame = null;
bgSound.setVolume(0);
} else {
slider.slideBar.onEnterFrame = adjustVolume;
bgSound.setVolume(oldVolume);
}
};
}
movieClip 3 {
}
movieClip 4 {
}
movieClip 6 {
}
movieClip 7 {
}
movieClip 11 {
}
movieClip 13 {
}
movieClip 15 {
}
movieClip 17 {
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 26 {
}
movieClip 29 {
}
movieClip 31 {
}
movieClip 34 {
}
movieClip 37 {
}
movieClip 39 {
}
movieClip 40 {
}
button 45 {
on (release) {
getURL('http://swfpony.tumblr.com/', '_blank');
}
}