Page 1 of 1

How to raise some events into swf

Posted: Sun Jun 29, 2008 11:09 pm
by metal
I am using some swf player but I need to programmatically pause/play the video in the player. The player provide some key event to pause and stop the video? Any example how to interact with a swf player by sending events?

Also is there a way to unload the swf player from f_in_box__control?

Thanks,

MF

Re: How to raise some events into swf

Posted: Mon Jun 30, 2008 7:22 am
by Softanics
metal wrote:I am using some swf player but I need to programmatically pause/play the video in the player. The player provide some key event to pause and stop the video? Any example how to interact with a swf player by sending events?


There are no common events / methods to control the video inside a movie.

If a player inside a movie provides some API -- you can use this API.

Also see example \samples\C#\Sample08_Advanced_FLV_Player

metal wrote:Also is there a way to unload the swf player from f_in_box__control?


Please try:
f_in_box__control1.Movie = "___";

Thank you.