|
|||
|
Where can I find something like ActiveX manual with all object, their methods and properties?
For example here is extact from help: ------------------------------------------------- createControl Description Creates an embeded ActiveX control in the projector. //Embed a Microsoft Media Player in the projector: var mplayer = createControl("MediaPlayer.MediaPlayer.1"); //set the placement of the media player mplayer.window.move(0, 0, 200, 200); //Open an avi mplayer.activex.Open("c:\\demo.avi"); ------------------------------------------------- or ------------------------------------------------- //Example1 - create an ActiveXObject by specified a class name word = new ActiveXObject("word.application"); word.Visible = true; trace(word.Visible); word.Documents.Add(); word.Selection.TypeText("This is a test..."); word.Documents[1].SaveAs("c:\\test.doc"); word.Quit(); ------------------------------------------------- But how do I know that I can use "Open" to open avi or "SaveAs" to save Word document? I think it must be some manual somewhere. Can you give any links? |
|
|||
|
It depends on which type of activex you choose to use,
normaly every kind of activex has it's own manual,u can find them in their official web sites. If you want to use some of Microsoft Activex, I suggest you to download the OLE/COM Object Viewer http://www.microsoft.com/windows2000.../oleview-o.asp "View type library contents in Oleview to determine what methods, properties, and events a Microsoft ActiveX control supports... " |
|
|||
|
I have presentation made with Flash, but it has some bugs which potentialy can be fixed if presentation will be made with Flash+SWFKit.
If I could make it with unregistered version of SWFKit, I will buy a license to avoid problems with law. So maybe you can share scripts with different ActiveXObject manipulations. Or prodive links where I can download them. |
|
|||
|
I have to made window in my presentation in which users could see MS Word doc-files or rtf-files. And it will be perfect if they even could modify and save those documects.
And the same for html-files (exept modifying and saving of cause). And the second problem that I can't launch avi-files to be viewed directly with Windows Media Player for example. I used bat-files to run those avi-files but it is very enoying sometimes. Another ploblems I can solve with SWFKit without using ActiveX and it seems to be easy. |
|
|||
|
Hi,
1. rtf or office file You can use a RICHEDIT control to edit a rtf file. SWFKit doesn't support OLE in-place activation, so it's very hard to edit a doc file from within SWFKit. But the richedit control supports embeded OLE object, there might be a way to make it work like you said. We will let you know when we have found the solution. 2. You can download our media player sample to see how to play avi files in SWFKit |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|