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-2004, 03:21 PM
Junior Member
 
Join Date: Apr 2004
Posts: 9
Default msxml activeX question.

Hi all,

I am having an interesting time with using the msxml activeX libraries.

I can create an instance of the DOM document by using:

var xmlObj = new ActiveXObject("Msxml2.DOMDocument");

...but try as I may, I can not create an instance of the DOMElement, by using either

var root= new ActiveXObject("IXMLDOMElement");

, which I think should work, or

var root = new ActiveXObject("Msxml2.DOMElement");

... which should not work.

If anybody could give me any pointer as to what I am doing wrong, I would really appreciate it.

Thank you,
Darryl.
Reply With Quote
  #2 (permalink)  
Old 06-02-2004, 03:58 PM
Junior Member
 
Join Date: Apr 2004
Posts: 9
Default Re:msxml activeX question.

Nevermind everybody,

I was a little hasty with this post.

SWFKit does not need to explicitly declare the type of object that is being used like VB does.

calling var root = xmlObj.documentElement();

will return an object modelled after the interface IXMLDOMElement already intact.

perhaps somebody else could benifit from this one though.

Thank you,
Darryl.
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 12:04 PM.


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.