Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-05-2007, 12:27 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Windows Media Player Visualization Window

hi

i import the Activex controler

i want to hide the windows media player and only show the visualization windows. how i will do that.

var1 = createControl("WMPlayer.OCX", 0, 0, 200, 200);
var1.activex.url = "e:\\1.wav";
var1.activex.controls.play();


thankx
Reply With Quote
  #2 (permalink)  
Old 08-06-2007, 05:39 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Re:Windows Media Player Visualization Window

i think no one can help me
Reply With Quote
  #3 (permalink)  
Old 08-07-2007, 10:17 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Windows Media Player Visualization Window

Code:
var1 = createControl("WMPlayer.OCX", 0, 0, 200, 200);
var1.activex.uimode = "none";
var1.activex.url = "D:\\From J\\emule\\Incoming\\01.mp3";
var1.activex.controls.play();
Reply With Quote
  #4 (permalink)  
Old 08-07-2007, 08:25 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Re:Windows Media Player Visualization Window

thankx for help ;D

1. i also want to know how can i capture the media player information bar of song(artist: abc, Buffering 10%, song xyz, Playing 16K bit/second) to a variable ???

2. how can i control volume my self from Flash.

3. i want to disable right click on visualization windows 8)

Reply With Quote
  #5 (permalink)  
Old 08-08-2007, 01:38 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Windows Media Player Visualization Window

1) and 2) can be done. You can get more details from MSDN
http://msdn2.microsoft.com/en-us/library/bb249349.aspx

3) you cannot customize the context menu of an activex control, as the current version of swfkit cannot intercept system messages.
Reply With Quote
  #6 (permalink)  
Old 02-17-2008, 01:16 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Re: Windows Media Player Visualization Window

hi there
how can i control volume my self from Flash for active x. i try the website http://msdn2.microsoft.com/en-us/library/bb249349.aspx but no help for controlling the audio. i want when the player start the audio will be full

thankx
Reply With Quote
  #7 (permalink)  
Old 02-17-2008, 06:46 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Windows Media Player Visualization Window

Code:
var1.activex.settings.volume = 50;
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 03:35 PM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Re: Windows Media Player Visualization Window

thankx
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 05:56 AM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Re: Windows Media Player Visualization Window

hi there

now a new problem arises

i have dual OS 98 and xp

in xp i have windows media player 11 and in 98 the default player

i built the player in the xp with media player controler
var var1 = createControl("WMPlayer.OCX.7", 12, 75, 235, 265);

in xp it is working but in 98 it do not show the media player and the place of the wmp is empty.

i have selected these options
Pack movies
pack attached files
standalone
enable the setup program to register the Activex objects
support win95

i want my player will work with all the previous OS 95/98/2000/xp

now where is the problem
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 07:29 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Windows Media Player Visualization Window

You will have to use Windows media player 6.4
Code:
var ax = createControl("MediaPlayer.MediaPlayer", 0, 0, 200, 200);
And please note that it has different methods and properties than those of ver 9
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 04:31 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.