hey!
what i have:
var my_sound = new Sound();
my_sound.loadSound(“ff.wav”, true);
this.createEmptyMovieClip(“my_mc”, 9876);
var position = my_sound.position;
my_mc.onEnterFrame = function() {
if (my_sound.position == position) {
var percent = 100*my_sound.getBytesLoaded()/my_sound.getBytesTotal();
my_txt.text = “Buffering “+Math.floor(percent)+”%”;
} else {
my_txt.text = “Playing”;
}
position = my_sound.position;
};
what the problem is:
when i load a mp3, no problem
when i load a wav, what i need, it buffers but doesnt play the wav file…
also
how can i embed windows media player into flash to play an external avi file?
i can do it in html using javascript but how to do this within flash?
these were my questions of today…
thank you
xx