|
|||
|
please download SWFKit again, from this url:
http://www.swfkit.com/download/swfkit.exe and have a try, if the problem still exist, don't hesitate to tell us, thanks! ![]() |
|
|||
|
Please try http://www.swfkit.com/download/new.exe
|
|
|||
|
I have been having the same problem. I tried installing both of the files, but neither fixed the problem. The problem seems to occur when I open an instance of the media player using the following code:
mp=createControl("MediaPlayer.MediaPlayer.1", rect_obj.left, rect_obj.top, rect_obj.right, rect_obj.bottom); mp.window.bringToTop(); mp.activex.AutoSize=true; mp.activex.AllowChangeDisplaySize=false; mp.activex.ShowControls=false; mp.activex.AutoStart=false; mp.activex.ReadyStateChange=mp_ReadyStateChange; mp.activex.Open(videoPath_str); I then "close" the player using the following code: mp.activex.Stop(); mp.window.close(); mp = null; When I "close" the media player, it disappears from the screen. But when I close the SWFKit application and then I look at my system processes, the SWFKit application is still running. I do not have this problem with SWFKit applications that do not "open" the media player. I also do not have this problem with SWFKit applications that "open" the media player if i never call the script that actually opens the media player. As I was writing this post, I just discovered something very interesting -- if I play the video by clicking on it and then close the SWKKit application, the application no longer runs in the system processes. I have tried this many time, and it works everytime. This is not an acceptable solution because I have created my own movie controls to match the branding of my SWFKit application. Is there someway to "fake" the click? I couldn't find a reference, but is there some way to give the media player window focus? I am working on a project with video for a client with very slow machines. Having the SWFKit application running invisibly in the system processes will not be acceptable to them. Any help would be greatly appreciated. Thanks! |
|
|||
|
Hi, ActionStu
We really appreciate your help. We tested the code in many Windows systems and haven't found out the problem yet. Would you mind sending us a demo (with the output exe file)? Thanks! |
|
|||
|
I can try to walk you through what I did, but I do not think I can send you my source files. The work I am doing is for a client who requires all the people who see it to sign non-disclosure agreements. The information contained within the application is proprietary. Is there anyway we can work on this problem without me sending you files?
I have been working on this problem and one thing that I have found is that the problem only occurs when the media player is "stopped" on faster machines. I have written code to work around this. However, I still have the original problem no matter what play state the media player is in on slower machines. Please note that this problem only occurs when I am using the media player activex control with a SWFKit application. Thanks again. |
|
|||
|
There is still an issue with multiple instances of the EXE staying active invisibly in the processes. I know you were looking into it... has there been any conclusion reached or a script to assure a clean exit?
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|