RE: lingo-l XML parser

2001-08-21 Thread Watson, Christopher
Using the XML Parser http://www.macromedia.com/support/director/internet/using_xml_parser_xtra/ XML LIngo Dictionary http://www.macromedia.com/support/director/internet/xml/xml_lingo_dict/xml_l ingo_dict.html Christopher Watson Sr. Software Engineer Lightspan, Inc. -Original Message-

RE: lingo-l xml parser links/questions

2001-08-20 Thread Watson, Christopher
So, it looks like you're able to produce what you need, for now. Correct? DOM-Lingo will be going public soon, and I will have a URL to share with the list as soon as I can get the host admin off his butt and link the directory up. Christopher Watson Sr. Software Engineer Lightspan, Inc.

RE: lingo-l xml parser links/questions

2001-08-17 Thread Watson, Christopher
Just to clarify: You want to be able to parse an XML document (on the local drive, or at a URL), and proudce a nested property list representation of that XML. Am I right? And you've already examined what comes back from XMLParser.makeList(), right? And you don't like what you see from that

RE: lingo-l The Merits (or Not) of Protection

2001-08-16 Thread Watson, Christopher
OK, I understand it now. Thank you Jakob and everyone else. My opinion is that it's too messy to work it that way, and really kind of flies in the face of how a DOM binding/implementation is really supposed to work. The system I have in place (with the linked external cast) seems to be the very

RE: lingo-l The Merits (or Not) of Protection

2001-08-16 Thread Watson, Christopher
And the protection issue ? I'll just Shock the cast. That seems to give me the protection I need. Then, editing the protected parent scripts in authoring mode becomes a simple support issue -- Don't do that. -Christopher [To remove yourself from this list, or to change to digest mode, go to

lingo-l The Merits (or Not) of Protection

2001-08-15 Thread Watson, Christopher
This is a cross-post from Direct-L. My apologies if that offends. Hello, everyone. I have an important series of questions regarding the distribution of proprietary Lingo libraries. I'll use the term library loosely (because I am aware of the fact that a Director Library is defined as an

RE: lingo-l The Merits (or Not) of Protection

2001-08-15 Thread Watson, Christopher
Jakob, I'm trying to understand and put to use your sage advice regarding LDMs. I've remade my external cast as a .dir movie file, and have imported it into the internal cast of another movie as a linked Director movie. I've enabled scripts on that cast member, but can't seem to access the

RE: lingo-l The Merits (or Not) of Protection

2001-08-15 Thread Watson, Christopher
-0700 2001_08_15, Watson, Christopher wrote: Can you provide some further detail about how to do this? Can you be specific? Will this get you going? tell sprite 1 tObject = script(protectedContainerClass).new() put #tObject, tObject end tell Jakob [To remove yourself from this list

RE: lingo-l XML object to file again

2001-08-13 Thread Watson, Christopher
My first questions to you would be: 1) What are you using to the perform the parse? 2) How are manipulating the data in the document? Christopher Watson Sr. Software Engineer Lightspan, Inc. -Original Message- From: Aulis [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 12, 2001 6:08

RE: lingo-l Working with a list from XML

2001-07-30 Thread Watson, Christopher
Erik, Congratulations. You have now experienced the abomination which is the makeList method of the XMLParser Xtra. Now...forget it. Instead, keep the XMLParser Xtra object around after creation and parsing, and use the Lingo interface it provides to access the nodes in the document tree. To

RE: lingo-l AN ODD string ISSUE

2001-07-16 Thread Watson, Christopher
You could factor it. First a movie script: on qr psStr lbLook = TRUE repeat while lbLook liOffset = offset(', psStr) lbLook = (liOffset 0) if lbLook then put QUOTE into char liOffset of psStr end repeat return psStr end Then... myList = [qr(getUserName('bill')),

RE: lingo-l LDM or Film Loop?

2001-07-09 Thread Watson, Christopher
Now we have a decision to make. We'd like to replace the Flash animations with either LDM's or film loops. I'm looking for some input on the best approach, because I haven't used LDM's much. Just so that I can follow this thread, could someone please fill me in on LDM's. What are they?

RE: lingo-l LDM or Film Loop?

2001-07-09 Thread Watson, Christopher
LDM=Linked Director Movie. A full description is found on Director's help system. For Linked Director movies, yes. But not for LDM. I just didn't know what the acronym stood for. If a search of LDM in the help system turned up a page on Linked Director movies, I wouldn't have asked the

RE: lingo-l disable Esc button

2001-06-28 Thread Watson, Christopher
Yes, Buzz, that was exactly the point. Granted, I did emphasize it sardonically (overly so, possibly), but what I was saying is that the truth is out there...and it's right under your nose. Use the help provided with the product to search out your answers first. Good heavens, a good chunk of

RE: lingo-l director 8.5 serial :-)

2001-06-06 Thread Watson, Christopher
The EULA I'm sure has language regarding transfer of license. You can transfer the license to another party provided you destroy your copy of it. -Christopher Watson -Original Message- From: R. Bhakti Klein [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 10:40 AM To: [EMAIL

lingo-l SWA.stop() and unseen memberNum change

2001-05-31 Thread Watson, Christopher
I've got a Shockwave game (authored in D 7.02) that plays a streamed intro SWA file when started. This audio is supposed to be interruptable with a click, but those clicks are to be passed to any sprites that happen to be clicked on to activate them. So, on startMovie, I initialize the

RE: lingo-l scriptObj.handlers()

2001-05-11 Thread Watson, Christopher
Personally, I really wish there was a callStack or stackCrawl function or property that returned a list of the names of the handler/objects in the current call chain. Oo...what I wouldn't give for that! Yeah, yeahwith a bunch of lines peppered all over my code, I could roll my own. But

RE: lingo-l Buddy API and .dcr

2001-05-04 Thread Watson, Christopher
Kerry, Could you please point me to the source of the information regarding an XML-based Acrobat. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Christopher Watson Sr. Software Engineer Lightspan, Inc. http://www.lightspan.com/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

RE: lingo-l list functions

2001-05-04 Thread Watson, Christopher
Brian, Nice job! Had you considered implementing Array.concat( ), too? Maybe Array.toString( ) would be good to have, as well. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Christopher Watson Sr. Software Engineer Lightspan, Inc. http://www.lightspan.com/

RE: lingo-l xml lingo

2001-05-03 Thread Watson, Christopher
Well, Ines, it's still a bit unclear to me how XML fits the bill here. A few questions to begin with: - What aspects of your client/server data management would benefit from having that data encapsulated in XML? - Are you just looking for a convenient way of organizing the data, or would the

RE: lingo-l xml lingo

2001-05-03 Thread Watson, Christopher
]] Sent: Wednesday, May 02, 2001 8:32 PM To: '[EMAIL PROTECTED]' Subject:RE: lingo-l xml lingo At 4:22 PM -0700 5/2/2001, Watson, Christopher wrote: Ines, I've done extensive work

RE: lingo-l xml lingo

2001-05-03 Thread Watson, Christopher
Have you looked at Andy White's lingo xml parser? It was the first thing I looked at, several months ago. Andy's parser was written during the infancy of the XMLParser Xtra, when all he was really trying to do was duplicate the Xtra's functionality (and, by association, its shortcomings), so as

RE: lingo-l xml lingo

2001-05-02 Thread Watson, Christopher
Ines, I've done extensive work with XML in Lingo. What would you like to know! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Christopher Watson Sr. Software Engineer Lightspan, Inc. http://www.lightspan.com/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

RE: lingo-l Mac-only SWA Cutoff and preloadTime

2001-04-26 Thread Watson, Christopher
Ummm...did you mean to say that this was a bug in previous versions of Director/Shockwave, but is now fixed in 8.5? According to the URL you provided, this is a fixlist for 8.5. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Christopher Watson Sr. Software Engineer Lightspan, Inc.

RE: lingo-l frametempo

2001-04-18 Thread Watson, Christopher
I believe that would be the frameTempo property. From the Lingo Dictionary: Syntax the frameTempo Description Frame property; indicates the tempo assigned to the current frame. This property can be tested. It can be set during a Score recording session. Example This statement checks the tempo

lingo-l SWA cast member URL property EMPTY?

2001-04-04 Thread Watson, Christopher
I'm setting the URL property of a stopped (i.e. member("audio_1").state = 0) SWA cast member to the relative path of a known SWA file using a path similar to "@///audio/game/401_001.swa". I then call preloadBuffer() on it. In my looping frame script, I'm polling the state property of the cast

RE: lingo-l Repeat properties

2001-03-28 Thread Watson, Christopher
Kerry, Howzabout DOM-Lingo: a complete DOM Level 2 implementation in Lingo? My implementation parses XML into DOM trees, and provides the entire Document Object Model API to access, travserse and edit the nodes in that tree. That includes methods relevant to your needs -- like

RE: lingo-l XML?

2001-03-16 Thread Watson, Christopher
Essentially, the XML parser brings your data into a property list-- probably a list of lists. It's confusing, though, to see every entry in the list prefaced with !ATTRIBUTES: [:] as the first property, all the way through the node tree. Walking a document tree exposed by the XMLParser Xtra

RE: lingo-l XML?

2001-03-15 Thread Watson, Christopher
Bill, If you want to parse XML text, use the XMLParser Xtra (which ships with Director, and can be found in the /Xtras/Media Support/ directory). The XMLParser Xtra is not a part of the default Xtras list for movies in D7, so if your running D7, you'll need to add the Xtra to your movie. To add

RE: lingo-l DOM, Anyone?

2001-03-15 Thread Watson, Christopher
Don't think that a Lingo DOM would be as clean though as a lot of properties inter-relate to each other, for example "Member" can be an object in and of itself complete with properties (rect, regPoint, etc), yet "Sprite" has a member property that would call back to the "Member" object.

RE: lingo-l DOM, Anyone?

2001-03-15 Thread Watson, Christopher
OK, so now I'm a little confused. The term DOM, in my mind, brings up the image of a tree of objects within a specified environment, such as a web browser, as a reference for programmers to determine which objects and properties go where, how they relate and what they do within that environment.

RE: lingo-l DOM, Anyone?

2001-03-15 Thread Watson, Christopher
Just when i though I was in control.. I am confused to what is going on i am sorry Are we saying that it is just a way of sharing data and values between other programmes. That would be ONE application of it, Jonathan. In fact, that's how I'm putting it to use, primarily, here at

lingo-l DOM, Anyone?

2001-03-14 Thread Watson, Christopher
I was wondering if anyone on this list could step forward and assist me in gauging community interest in a Lingo DOM implementation. I currently have Level 2 Core, Views, Traversal-Range and part of Events done and working. Comments? Advice? Flames? Anyone?

RE: lingo-l DOM, Anyone?

2001-03-14 Thread Watson, Christopher
I was wondering if anyone on this list could step forward and assist me in gauging community interest in a Lingo DOM implementation. I currently have Level 2 Core, Views, Traversal-Range and part of Events done and working. Comments? Advice? Flames? None of the above. What is a DOM? Does it

RE: lingo-l DOM, Anyone?

2001-03-14 Thread Watson, Christopher
DOM?? Document Object Modeling??? For what kind of use??? Sorry my poor knowledge but, lingo is not OOPS for itself?? Huh? Of course it is. Lingo's parent scripts, behaviors and child objects, with their properties and "methods" are all about OOP.

RE: lingo-l DOM, Anyone?

2001-03-14 Thread Watson, Christopher
lingo exists only in the context of interactive multimedia. it has no inherent, independent existence. no scripting language is an island. Agreed. It's only OOP in the context of the native host. But there are bona-fide Director/Shockwave-scoped applications for a DOM implementation in

RE: lingo-l html table

2001-03-14 Thread Watson, Christopher
Thanks for the suggestion for using an html table rather than 4 columns. It works great! Next question, is there any way to format the columns, right justify them? Use the "align" attribute of the TD tag: td align="right" -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Christopher

RE: lingo-l DOM, Anyone?

2001-03-14 Thread Watson, Christopher
Yes, I think this is interesting... ehhm exactly what kind of interest are you looking for? You make it, I snatch it? Or something else? First and foremost, I'd like to form a picture in my mind of the general level of interest. I'll probably ask elsewhere, too (that is, if the other places I

lingo-l AudioActive Production Studio 2 and SWAs

2001-03-08 Thread Watson, Christopher
Has anyone on this list had any experience converting WAVs to SWAs using AudioActive Production Studio 2 (www.audioactive.com). I would particularly like to hear from anyone who may have tried such conversion with this tool and found that the resultant SWAs were either corrupt or unplayable. I am

RE: lingo-l POST pain

2001-02-25 Thread Watson, Christopher
Roy, You're letting Lingo do all the work for you, right? lsURL = "http://roypardi.com/bin/dbman/db.cgi" llFormProps = [:] llFormProps.addProp(#db, "default") llFormProps.addProp(#uid, "") llFormProps.addProp(#userID, "admin") llFormProps.addProp(#ps, "admin") llFormProps.addProp(#login,

RE: lingo-l Embedding Director to XML

2001-02-22 Thread Watson, Christopher
Not exactly sure what you're asking here. Are you just looking for the way to get arbitrary data from your Director movie to the server? Or are you looking to create XML documents in Director? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Christopher Watson Sr. Software Engineer

RE: lingo-l loading flash in director

2001-02-19 Thread Watson, Christopher
It could. You need to save your Flash out as Flash 4. Even them, I'm not sure if D7 supported Flash 4--I wasn't paying much attention to Flash back in the D7 days. Director/Shockwave 7.0.2 support Flash 4. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Christopher Watson Sr. Software

RE: lingo-l Random display of questions

2001-02-13 Thread Watson, Christopher
Ravi, If it weren't for a bug in Director, you could do it in this simple manner: on GetRandomAnswerList set tText = member("Answers").text set tAnswerList = [] repeat while the number of lines in tText 0 set tRand = random(the number of lines in tText)

RE: lingo-l Random display of questions

2001-02-13 Thread Watson, Christopher
Good one, Daniel. I hadn't come across that algorithm before. Using your example, here's the mod to my previously submitted function: on GetRandomAnswerList set tText = member("Answers").text set tMax = the number of lines in tText set tAnswerList = [] repeat with i = tMax down to 1

RE: lingo-l Director book

2001-02-12 Thread Watson, Christopher
In no particular order: "Using Macromedia Director 8: Special Edition" by Gary Rosenzweig ISBN: 0789723344 "Director 8 and Lingo Authorized" by Phil Gross ISBN: 0201702622 "Advanced Lingo for Games" by Gary Rosenzweig ISBN: 078972331X "Lingo in a Nutshell" by Bruce Epstein ISBN: 1565924932

lingo-l FileXtra3.fx_FolderSelectDialog

2001-02-09 Thread Watson, Christopher
The "infoString" argument (Windows only) for the fx_FolderSelectDialog method of the FileXtra3 Xtra seems to be ignored. Any string I pass in this argument does not display in the folder selection dialog. loFX = xtra("FileXtra3").new() put loFX.fx_FolderSelectDialog("Choose a file, dude:") --

lingo-l List Sort

2001-02-09 Thread Watson, Christopher
The sort command for lists most definitely needs to be augmented with an optional comparison function argument. For example, if I had a list of child objects instantiated from a parent script that had a property named "miValue", and I wanted to sort the child object list based on the value held

RE: lingo-l timeout objects help

2001-02-02 Thread Watson, Christopher
From what I've been able to gather, there's been a fair amount of confusion generated over the seeming amibiguities of the timer, the timeOut, and timeOut objects. They are all horses of a different color, but the nomenclature arrived at by the Director team for these bits of Lingo leaves a bit

RE: lingo-l Re: Static Variables

2001-01-24 Thread Watson, Christopher
So, the upshot is: no class variabes. That sucks. But whatever... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Christopher Watson Sr. Software Engineer Lightspan, Inc. http://www.lightspan.com/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -Original

lingo-l Static Variables

2001-01-18 Thread Watson, Christopher
The properties within a parent script are equivalent to instance variables. But I want to implement the equivalent of a class variable in my parent script, so that all child objects created from that parent script can take into account the value held within that class variable when performing

lingo-l Emitting Well-formed XML to the Server

2001-01-17 Thread Watson, Christopher
I've got a parent script that works pretty well to build XML documents. I've got to get the XML document (that is, the textual version of it, not a property list or bunch of child objects) from my Shockwave game to the server. I'm investigating "postNetText" for this purpose, though I'm wondering

lingo-l Bug, or Misunderstanding?

2001-01-17 Thread Watson, Christopher
Try this in the message window (that's three commas with nothing betweeen them before the word "bubba"): temp = ",,,bubba" put temp.item.count -- 4 Perfect. Love it. Now try this (that's three space characters in place of the commas): temp = " bubba" the itemDelimiter = SPACE put

RE: lingo-l XML Question

2001-01-17 Thread Watson, Christopher
Ron, It's not the "value" property you want, it's the "text" property. And the data for a node is another child of the node that contains it, so to access the data for that first "userid" node, you'll need to tack on another level:

lingo-l XML Documents in Lingo

2001-01-11 Thread Watson, Christopher
I've created a rudimentary implementation of XML as a parent script. I don't think it's anything spectacular, and I'm sure others have done it before. It's not an XML parser (we'll leave that to the Xtra). Instead, it's an API for creating and manipulating XML documents and their trees as child

RE: lingo-l XML Documents in Lingo

2001-01-11 Thread Watson, Christopher
Hi there, Sean. Yes, odd indeed. My implementation does not yet create new XML documents from property lists, but that was one of my goals for the "newChild" method -- an optional argument for a nested property list (from XMLParser, for instance) that reformed the XML. My parent script just

RE: lingo-l XML Documents in Lingo

2001-01-11 Thread Watson, Christopher
Robert, I totally agree with you. Thankfully, in my case, I don't have to be overly concerned about the fluff. I'm just using XML as a standardized way of exporting gameplay results -- the content and relevance of which will vary widely, game to game -- to the back-end assessment tools. And