<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1032017" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1032017</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1190756</link>
    <description> &lt;p&gt;Update: Seems to be a problem with the XML. Looks like it&#039;s handling everything before D in the alphabetical order, but then has problems after that.  Is there anything in my xml around the &quot;D&quot; area that would be causing a problem? I tried taking out the whole D section and that seems to correct the problem.&lt;/p&gt;
&lt;p&gt;Whew, that&#039;s a relief actually! Minor problem &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 17 Jan 2006 19:33:10 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1190756 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1190732</link>
    <description> &lt;p&gt;More problems - I got it put into my player and everything seemed fine but now I&#039;ve got instances where I&#039;ve got several glossary items on a page and some work but others don&#039;t. I&#039;ve checked the spelling and the order of items on the flash screen and everything seems fine.  &lt;/p&gt;
&lt;p&gt;Here is an example:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://admmail.uwaterloo.ca/~mjjack/glossary/medieval_philos.html&quot; class=&quot;bb-url&quot;&gt;http://admmail.uwaterloo.ca/~mjjack/glossary/medieval_philos.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you go to the very end of the timeline you can see that A=B works, but Nirguna Brahman doesn&#039;t.  Atman works (it&#039;s off the edge of the screen but I think I can fix that) but the rest don&#039;t.&lt;/p&gt;
&lt;p&gt;These are now being loaded into the player which is a separate movie. I had to put the actionscript calls into that file instead of the regular movie. I hope this all makes sense!  All the files are on my web space here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://admmail.uwaterloo.ca/~mjjack/&quot; class=&quot;bb-url&quot;&gt;http://admmail.uwaterloo.ca/~mjjack/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Any help? (I know this is a pretty big question!)&lt;/p&gt;
 </description>
     <pubDate>Tue, 17 Jan 2006 16:16:05 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1190732 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1188496</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;var CONST_NOTHING_ERROR = &amp;#039;Error! No term or definition found&amp;#039;;&lt;br /&gt;	//Change the above to give a different error message when nothing is found.&lt;br /&gt;var CONST_NO_DEFINITION_ERROR = &amp;#039;Error! The term was found in the glossary, but there was no description with it or the description was blank&amp;#039;;&lt;br /&gt;	//Change the above to give a different error message when a term is found but a definition for it is not.&lt;br /&gt;var objGlossary = new Object();&lt;br /&gt;	//Associative array for glossary terms&lt;br /&gt;glossaryXML = new XML();&lt;br /&gt;	// Activate the XML object&lt;br /&gt;/*&lt;br /&gt;With the XML Object now active you must now load an XML foramtted document.&lt;br /&gt;Any DTD or XSL formatting will be ignored.&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;glossaryXML.onLoad = myLoad;&lt;br /&gt;glossaryXML.load(&amp;quot;glossary2.xml&amp;quot;);&lt;br /&gt;&lt;br /&gt;glossaryXML.ignoreWhite = true; // strips white space from the XML document&lt;br /&gt;&lt;br /&gt;// Before proceeding too far into the program, make sure the XML document has loaded&lt;br /&gt;// Extract information from the XML file&lt;br /&gt;function myLoad(ok) {&lt;br /&gt;	if (ok == true) {&lt;br /&gt;		GetTerms(glossaryXML);&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function GetTerms(xmlParse) {&lt;br /&gt;&lt;br /&gt;	for (var objNodeLoop = xmlParse.firstChild; objNodeLoop != null; objNodeLoop = objNodeLoop.nextSibling) {&lt;br /&gt;&lt;br /&gt;			//Following is responsible for traversing up and down in the XML tree&lt;br /&gt;			//Moves us down childNodes when they are available and reverses back up&lt;br /&gt;			//parentNodes when no more nodes or children are available on current level.&lt;br /&gt;		&lt;br /&gt;		checkNode(objNodeLoop);&lt;br /&gt;		&lt;br /&gt;		for (objNodeLoop = objNodeLoop.firstChild; objNodeLoop.firstChild != null; objNodeLoop = objNodeLoop.firstChild) {&lt;br /&gt;			//Loop through child nodes&lt;br /&gt;			checkNode(objNodeLoop);&lt;br /&gt;		}&lt;br /&gt;			//Head down tree as far as we can, checking all the way&lt;br /&gt;		&lt;br /&gt;		while (objNodeLoop.nextSibling == null &amp;amp;&amp;amp; objNodeLoop.parentNode != null) {&lt;br /&gt;			objNodeLoop = objNodeLoop.parentNode&lt;br /&gt;		}&lt;br /&gt;			//Head back up tree seaching for available siblings			&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function checkNode(objNode) {&lt;br /&gt;		&lt;br /&gt;		//NOTE: This function interacts directly with objGlossary associative array.&lt;br /&gt;		//this is the reason it does not return a value.&lt;br /&gt;		//Only rules for placement of the desired elements within XML is that the term and definition&lt;br /&gt;		//must be children of glossaryitem and there cannot be more than one term or definition per&lt;br /&gt;		//glossaryitem, if there is the first value will be overwitten. &lt;br /&gt;	&lt;br /&gt;	var strTerm = new String();&lt;br /&gt;	var strDefinition = new String();&lt;br /&gt;	&lt;br /&gt;	if (objNode.nodeName == &amp;#039;glossaryitem&amp;#039;) {&lt;br /&gt;				//glossaryitem element found, search the children...&lt;br /&gt;			&lt;br /&gt;		strTerm = &amp;#039;&amp;#039;;&lt;br /&gt;		strDefinition = &amp;#039;&amp;#039;;&lt;br /&gt;		&lt;br /&gt;		for (var objGlossaryItems = objNode.firstChild;&lt;br /&gt;			 objGlossaryItems != null;&lt;br /&gt;			 objGlossaryItems = objGlossaryItems.nextSibling) {&lt;br /&gt;			&lt;br /&gt;			if (objGlossaryItems.nodeName == &amp;#039;term&amp;#039;) { strTerm = objGlossaryItems.firstChild.nodeValue; }&lt;br /&gt;			if (objGlossaryItems.nodeName == &amp;#039;definition&amp;#039;) { strDefinition = objGlossaryItems.firstChild.nodeValue; }&lt;br /&gt;				//term or definition found, shove value into a string for later use.&lt;br /&gt;		}&lt;br /&gt;		if (strTerm != &amp;#039;&amp;#039; &amp;amp;&amp;amp; strDefinition != &amp;#039;&amp;#039;) {&lt;br /&gt;			objGlossary[strTerm] = strDefinition;&lt;br /&gt;		} else if (strTerm != &amp;#039;&amp;#039; &amp;amp;&amp;amp; strDefinition == &amp;#039;&amp;#039;) {&lt;br /&gt;			//If a term is defined but no matching Definition output an error message...&lt;br /&gt;			objGlossary[strTerm] = CONST_NO_DEFINITION_ERROR;&lt;br /&gt;		}&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function findTerm(termText) { &lt;br /&gt;&lt;br /&gt;	term_txt.htmlText= termText;&lt;br /&gt;	if (objGlossary[termText] == null) {&lt;br /&gt;		definition_txt.htmlText = CONST_NOTHING_ERROR;&lt;br /&gt;	} else {&lt;br /&gt;		definition_txt.htmlText = objGlossary[termText];&lt;br /&gt;	}&lt;br /&gt;	&lt;br /&gt;	// we&amp;#039;ll need to create a tooltip to put it in instead of the current text boxes.&lt;br /&gt;	&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
Version 2, sorry I took so long!&lt;br /&gt;
There&#039;s a new constant: CONST_NOTHING_ERROR&lt;br /&gt;
And a new conditional in findTerm(termText) that checks to see if the return from the array is blank and sets the definition to CONST_NOTHING_ERROR if it is and outputs the glossary entry if it isn&#039;t.&lt;/p&gt;
 </description>
     <pubDate>Mon, 19 Dec 2005 03:45:14 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1188496 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1187909</link>
    <description> &lt;p&gt;Whoo-hoo!  It works!  And I did the tool tips all by myself &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://admmail.uwaterloo.ca/~mjjack/glossary/glossary.swf&quot; class=&quot;bb-url&quot;&gt;http://admmail.uwaterloo.ca/~mjjack/glossary/glossary.swf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now I can dump the actionscript code into an external file.&lt;/p&gt;
&lt;p&gt;Jeeves - if the term is not found it returns nothing. How can I put an error message in there for that?&lt;/p&gt;
&lt;p&gt;Thanks a million for the code &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Would have rather done it myself but this is probably a much better solution.&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Dec 2005 17:17:08 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1187909 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1187880</link>
    <description> &lt;p&gt;I don&#039;t know, we&#039;d probably need to throw a lesbian in the mix or something &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/eyeroll.png&quot; title=&quot;Roll eyes&quot; alt=&quot;Roll eyes&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Will look at that in a few minutes, Jeeves &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;What do you think would be the best way to display the definition?  I could do a tooltip type thing if I can find some good code for it, otherwise just a plain pop-up box.  I might need some help figuring out how to make the box the right size for the text.&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Dec 2005 14:28:12 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1187880 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1187872</link>
    <description> &lt;p&gt;Hmmmph, you declined in a tongue in cheek, damn I really want that date sort of way. &lt;/p&gt;
&lt;p&gt;Anyway we could make some cash and raise the profile of TWF by going on there, all publicity is good!&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Dec 2005 13:30:43 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1187872 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1187857</link>
    <description> &lt;p&gt;Hey dont get me involved. I already have my happily ever after. I declined way at the beggnning to the thread.&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Dec 2005 09:10:36 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1187857 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1187844</link>
    <description> &lt;p&gt;So does this mean I win the date? &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I reckon we should turn this into a sordid love triangle thing and go on Jerry Springer.&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Dec 2005 05:21:58 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1187844 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1187823</link>
    <description> &lt;p&gt;God, Bryan, that was implicit with the original question! Stop being a jerk about it, jeez.&lt;/p&gt;
 </description>
     <pubDate>Sun, 11 Dec 2005 22:36:29 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1187823 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/does-anyone-know-anything-about-xml-flash#comment-1187817</link>
    <description> &lt;p&gt;I used studio 8 to work on it but I exported as 7.&lt;/p&gt;
&lt;p&gt;You didn&#039;t write that code your self did you? Or read the comments?&lt;br /&gt;
I noticed it was missing a few key things to make it functional. I just figured you hadn&#039;t gotten around to that yet. So my primary concern was to get your trace functions working correctly. Next time you need the whole problem solved for you just say so.&lt;/p&gt;
 </description>
     <pubDate>Sun, 11 Dec 2005 19:20:03 +0000</pubDate>
 <dc:creator>bja888</dc:creator>
 <guid isPermaLink="false">comment 1187817 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
