greetings...I am trying to import an XML file into the cast
and am getting an error message stating "Having Touble
Reading...filename...continue import? -1"
Hitting ok seems to attempt an import, but the cast member
never shows up. I have no problem loading the file at runtime with
the fileio command but would like to include in the cast for
shockwave publishing. File also loads fine in WordPad, Firefox, my
XML editor, etc. Documentation states that import supports text,
rtf and html...is it possible it is seeing the markup and returning
some sort of unsupported file type error? XML Parser documentation
indicates that XML cast members are possible.
XML is a file type not /usually/ imported, but you should be
create a text member and set it's filename to the XML file.
something like (executed from your message window):
tMember = _movie.newMember(#text)
tMember.name = "XML document"
tMember.filename = "pathToXML"
tMember.linked = 0