tags:

views:

23

answers:

1

how to control .swf file from c#. I was developed one asp page which contains flash file. Is there any possibility to play and pause that flash file?

+1  A: 

You can't.

C# code is executed server-side. Flash animations are executed client-side.

Your best bet would be to see what you can accomplish with JavaScript.

Justin Niessner
thanks.I am trying to work on javascript but failed. Following is the code.
hemanth
var flashMovie=getFlashMovieObject("flash.swf");flashMovie.Stop();
hemanth
@hemanth - getFlashMovieObject takes the name from the name attribute you assign in the markup, not the file name.
Justin Niessner