|
|||
|
in your media example:
..... if (player == null) { player = createControl("MediaPlayer.MediaPlayer.1", 305,85,680,365); player.activex.ShowControls = false; } player.activex.Open(path); player.window.show(); ..... the MediaPlayer ocx window boundary defined by 2 coords (305,85,680,365) but how can I change it in FFish? sometime I need to change size/posintion of the ActiveX control, how can I do that? thank's ! |
|
|||
|
I've tried
1 player.activex.x y top left width .... 2 palyer.windows.x y top left width .... dont' work properly I've checked MSDN, cant' find answer I need heeeeeeeeeeeeeeelp! zak's |
|
|||
|
by the way
I want to know detail of ActiveX event handle in FFish. for MediaPlayer, I want be noticed when player reached a marker. because I need sync other Flash element on stage when video playhead reach different marker! any idea? cheers! |
|
|||
|
player.window
The "window" property is of "Window" type. The createControl method returns an object that contains two properties, "activex" and "window". "activex", an ActiveXObject object, represents the dispatch interface of created ActiveX control by "createControl". By using "activex", you can access the methods, properties and events of the ActiveX control. And "window", a Window object, represents the Window of the ActiveX control. To change the window size or position, just call the relevant methods or properties: play.window.move(...); |
|
|||
|
your methed move/resize the ActiveX's window properly,
but I need resize the content (video) correspondly, it seems cliped the content, I want the content of the window (ie. video here) be "stretched" instead of "cliped"! how can I do that? thanks! |
|
|||
|
I've checked MediaPlayer control's properties in my FFish script, and resulted as follow:
AllowChangeDisplaySize: true; AutoSize:true;(default false/ i set to True); How to stretch the content of the window ? I means fit the video size to the window that size/pos is given by my FFish script? |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|