Home > Back-end >  D7 in Flash. Ocx problems
D7 in Flash. Ocx problems

Time:10-17

I create a new project in the form of using a Flash control
Set up in the form of Oncreate Flash Movie
MyFlash. Movie:='D: \ SKyRelease \ live \ player SWF';
At the click of a button control under event
VFuncBody:='& lt; Invoke name="setWidthAndHeight returntype"="XML" & gt; 400 & lt;/number> 300 & lt;/number> ';
MyFlash. CallFunction (vFuncBody);

VFuncBody:='& lt; Invoke name="setBufferTime returntype"="XML" & gt; 0.001 & lt;/number> ';
MyFlash. CallFunction (vFuncBody);

VFuncBody:='& lt; Invoke name="playStream returntype"="XML" & gt; '+' file name '+' & lt;/string> ';
MyFlash. CallFunction (vFuncBody);

This form should be in this project is no problem, can play properly file

But I put this form in a my another OCX engineering, the execution MyFlash. CallFunction (vFuncBody) will be submitted to the "wrong" is not specified,
Anyone got talent can teach it
  • Related