Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-06-2004, 09:44 PM
Junior Member
 
Join Date: Aug 2004
Posts: 10
Default resize the Mediaplayer

is there any way to resize the activex mediaplayer without recreate it?

me have do with this code:-
if (player == null){
player = createControl("MediaPlayer.MediaPlayer.1", 0,0,352,288);
}
Dialogs.msgBox(player.activex);
Dialogs.msgBox(player.window);

but the [player.window] return [undefined], so that me found no way to resize or move it
is there others way to make it? ???

thnx
Reply With Quote
  #2 (permalink)  
Old 08-08-2004, 03:20 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:resize the Mediaplayer

The Windows media player control will always be windowless activated. The player.window will always return [undefined].

You can close the palyer and open it again when you want to change the size of the player window
Code:
delete player;
player = createControl(...);
...
Reply With Quote
  #3 (permalink)  
Old 08-15-2004, 11:14 PM
Junior Member
 
Join Date: Aug 2004
Posts: 10
Default Re:resize the Mediaplayer

that mean there have no way to resize or move it dynamic?
Reply With Quote
  #4 (permalink)  
Old 08-16-2004, 04:33 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:resize the Mediaplayer

In ver 2.2, the window property won't reply [undefined]. But in the current version, you have to delete the player and create it again to resize and move it.
Reply With Quote
  #5 (permalink)  
Old 08-17-2004, 02:20 PM
Junior Member
 
Join Date: Aug 2004
Posts: 10
Default Re:resize the Mediaplayer

ok, got it , thnx a lot

::cant wait for ver 2.2 ;D :P::
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 10:52 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.