I cannot get this file to work all the time in C#. Sometimes the first clip plays and sometimes nothing at all works
private void PlayFlash()
{
String testFiles = Directory.GetCurrentDirectory();
testFiles = String.Concat(testFiles, @"\flash.html");
axShockwaveFlash1.LoadMovie(0, testFiles);
axShockwaveFlash1.Loop = false;
do
{
axShockwaveFlash1.Play();
axShockwaveFlash1.StopPlay();
}
while (axShockwaveFlash1.IsPlaying() != false);
if (axShockwaveFlash1.IsPlaying() == false)
{
axShockwaveFlash1.SuspendLayout();
this.axShockwaveFlash1.Enabled = false;
}
}
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).