Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2005, 07:38 PM
Junior Member
 
Join Date: Jan 2005
Posts: 7
Default media player control

i read that mplayer = createControl("MediaPlayer.MediaPlayer.1") includes microsofts media player control in an application.
when i search msdn for media player sdk i find sdk 6.4 AND sdk 10.
is "MediaPlayer.MediaPlayer.1" the id for media player 10? if not, which one do i have to use?
Reply With Quote
  #2 (permalink)  
Old 03-02-2005, 11:45 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:media player control

If you use the prog id of "WMPlayer.OCX", it will create a sdk 10 object, and if you use the prog id of "MediaPlayer.MediaPlayer", it will create a sdk 6.4 object.
Reply With Quote
  #3 (permalink)  
Old 03-02-2005, 09:07 PM
Junior Member
 
Join Date: Jan 2005
Posts: 7
Default Re:media player control

So, "WMPlayer.OCX" is my id and i create my object with
mplayer = createControl("WMPlayer.OCX") ?

Where do I find those IDs?
Reply With Quote
  #4 (permalink)  
Old 03-03-2005, 11:42 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:media player control

If windows media player 10 is installed, "WMPlayer.OCX" can work. "MediaPlayer.MediaPlayer" can work on most of the systems.

In swfkit
[main menu]->[tools]->[insert activex control],

choose the activex control you want to embed, then a line of code will be inserted into the script. You can find the prog id in the code.
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:47 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.