> So I've got a dummy text member that I'm trying to pull in 
> the contents of a external xml file. For some reason (well,
> I understand why) it's no longer seeing that member as
> text, but as ole afterwards, as it's pulled in via IE on
> the pc.
> 
> Any suggestions? I can't figure the way around it - in the 
> final app it's going to be pushed in via html embed, but
> this is more a proof of concept= thing, so dealing with
> .filename

I'd skip the setting of the fileName and instead pull the file into the movie at 
run-time using getNetText instead. I'm guessing that setting the fileName to a file 
with a .xml extension is why you're getting the file as OLE (setting the fileName 
doesn't recognize .xml files as really just being fancy text files, getNetText isn't 
so picky). Is that something you've considered and decided to shy away from for some 
reason? GetNetText works great in Shockwave and I guess I'm confused as to why it 
wouldn't have been the first move to try. 

Put the XML file's URL in the embed tags...
Read the embed tags using externalParamValue...
Issue a getNetText on your XML file...
When complete push the netTextResult of the download into your text member...

Hope that helps.

Cheers,
Tom
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to