Reseting a flash object.

  • Thread starter Thread starter UJ
  • Start date Start date
U

UJ

I've got a flash object on a Window's form. At some point I want to change
the flash file that is playing. But it doesn't seem to want to do it. I've
done a stop on the control, changed the name of the movie file, set
movieembed = true, and refresh it. But it always plays the same file.

How do I reset it - or do I need to destroy the control and recreate it?

TIA - Jeff
 
UJ,

It seems like you might have to do this. Is it possible to set the
source of the file to blank/null, and then set the source back? Maybe that
will work.

Hope this helps.
 
Turns out you need to do a .loadmovie and that resets it.

Nicholas Paldino said:
UJ,

It seems like you might have to do this. Is it possible to set the
source of the file to blank/null, and then set the source back? Maybe
that will work.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

UJ said:
I've got a flash object on a Window's form. At some point I want to
change the flash file that is playing. But it doesn't seem to want to do
it. I've done a stop on the control, changed the name of the movie file,
set movieembed = true, and refresh it. But it always plays the same file.

How do I reset it - or do I need to destroy the control and recreate it?

TIA - Jeff
 
Hi,

Could you please post (this part of) your code? It seems I've the same
problem but another loadMovie doesn't solve it.

Thank you,
Marije


UJ schreef:
Turns out you need to do a .loadmovie and that resets it.

Nicholas Paldino said:
UJ,

It seems like you might have to do this. Is it possible to set the
source of the file to blank/null, and then set the source back? Maybe
that will work.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

UJ said:
I've got a flash object on a Window's form. At some point I want to
change the flash file that is playing. But it doesn't seem to want to do
it. I've done a stop on the control, changed the name of the movie file,
set movieembed = true, and refresh it. But it always plays the same file.

How do I reset it - or do I need to destroy the control and recreate it?

TIA - Jeff
 
Back
Top