|
|||
|
is it possible to forward and reverse a playing movie in windows media player activX control lying in SWFKit environment?
plz clear it. if possible. SWFBaz
__________________
SWFBaz Preview [October 2006] http://www.SWFBaz.com |
|
|||
|
The media player provides many methods to control the movie playback.
Play(); Begins playing from the current position or marker Stop(); Stops file playback at the current position Pause(); Pauses file playback at the current position Cancel(); Cancels the current operation Open(strFileName); Opens the given filename asynchronously Next(); Jumps to the next item Previous(); Jumps to the previous item FastForward(); Fast Forwards the playback FastReverse(); Fast Reverses the playback You can find the Microsoft media player SDK at http://msdn.microsoft.com/library/de...dk/default.asp |
|
|||
|
You can also handle the media player events in FFish Script. Eg. handle the PositionChange event
Code:
var var1 = createControl("MediaPlayer.MediaPlayer.1", 0, 0, 200, 200);
var1.activex.open("e:\\1.asf");
var1.activex.PositionChange = function(oldpos, newpos)
{
trace(oldpos);
trace(newpos);
}
|
|
|||
|
thanx topcmm,
thanx again for your reply... well i will use these functions in my app. i would appriciate you if you do also include the documentation about this type of objects in your swfkit doctumentation... i know this will be much extra work... but i think it will improve ours skills of developing reapidly. at the moment, your work is great. i appriciate SWFKit.
__________________
SWFBaz Preview [October 2006] http://www.SWFBaz.com |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|