Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Pre-sales

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-02-2003, 09:33 AM
Junior Member
 
Join Date: Jun 2003
Posts: 6
Default ActiveX objects

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?
Reply With Quote
  #2 (permalink)  
Old 06-02-2003, 12:02 PM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re: ActiveX objects

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... "
Reply With Quote
  #3 (permalink)  
Old 06-05-2003, 10:04 AM
Junior Member
 
Join Date: Jun 2003
Posts: 6
Default Re: ActiveX objects

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.
Reply With Quote
  #4 (permalink)  
Old 06-06-2003, 04:59 AM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re: ActiveX objects

Hi, coviex

thank you for your love to SWFkit.
we can offer some help on activexobject, but could you more specific?

in which aspect of activexobject your problem lies? and what's the problem?
Reply With Quote
  #5 (permalink)  
Old 06-06-2003, 07:48 AM
Junior Member
 
Join Date: Jun 2003
Posts: 6
Default Re: ActiveX objects

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.
Reply With Quote
  #6 (permalink)  
Old 06-06-2003, 10:03 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: ActiveX objects

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

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:51 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.