Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-19-2003, 03:57 PM
Member
 
Join Date: Jan 2003
Posts: 54
Send a message via MSN to swfbaz Send a message via Yahoo to swfbaz
Default Media control

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
Reply With Quote
  #2 (permalink)  
Old 01-20-2003, 04:59 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Media control

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
Reply With Quote
  #3 (permalink)  
Old 01-20-2003, 05:09 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Media control

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);
}
Reply With Quote
  #4 (permalink)  
Old 01-21-2003, 01:47 AM
Member
 
Join Date: Jan 2003
Posts: 54
Send a message via MSN to swfbaz Send a message via Yahoo to swfbaz
Default Re: Media control

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
Reply With Quote
  #5 (permalink)  
Old 01-21-2003, 10:54 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Media control

Thank you. We will write some articles about this objects.
Reply With Quote
  #6 (permalink)  
Old 01-22-2003, 08:49 PM
Member
 
Join Date: Jan 2003
Posts: 54
Send a message via MSN to swfbaz Send a message via Yahoo to swfbaz
Default Re: Media control

thanx for your confirmation.
__________________
SWFBaz Preview [October 2006]
http://www.SWFBaz.com
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:43 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.