romkas
14.05.2009, 13:56
Проблема с работой кнопок Player, который находится внутри символа MovieClip.
AS код:
video = _root.video;
play_btn.onPress = function() {
video.play();
};
pause_btn.onPress = function() {
video.pause();
};
stop_btn.onPress = function() {
video.stop();
};
rewind_btn.onPress = function() {
video.play(0);
};
AS код:
video = _root.video;
play_btn.onPress = function() {
video.play();
};
pause_btn.onPress = function() {
video.pause();
};
stop_btn.onPress = function() {
video.stop();
};
rewind_btn.onPress = function() {
video.play(0);
};