<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<STYLE>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</STYLE>

<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV id=idOWAReplyText32943 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>there is an onData event I can trap for you on loadVars. You can point to a url, I can get an icon to load it via loadVars, intercept the onData event, and pass it back to your code in an event handler iconID.onData.&nbsp;I can set iconIdD.rawData or similar and then when you handle iconID.onData you can have a text icon {iconID.rawData}.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>The onData event fires before onLoad, and lets you access the raw text in the file you loaded. Same with the XML class. Basically it's readExtFile(). I'm not sure if there is support for it right now in Xerte, but it is five minutes to add it.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>Remember the supported HTML is a bit limited, thanks to the Flash player. Stylesheets might be useful.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Dave Burnett<BR><B>Sent:</B> Thu 29/01/2009 21:35<BR><B>To:</B> Xerte list<BR><B>Subject:</B> RE: [Xerte] Noob question<BR></FONT><BR></DIV>
<DIV>Yes.<BR><BR>
<HR id=stopSpelling>
Subject: RE: [Xerte] Noob question<BR>Date: Thu, 29 Jan 2009 21:26:56 +0000<BR>From: Julian.Tenney@nottingham.ac.uk<BR>To: xerte@lists.nottingham.ac.uk<BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>

<DIV id=EC_idOWAReplyText47622 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>what do you want to do with them? Load them and display them?</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Dave Burnett<BR><B>Sent:</B> Thu 29/01/2009 19:39<BR><B>To:</B> Xerte list<BR><B>Subject:</B> RE: [Xerte] Noob question<BR></FONT><BR></DIV>
<DIV>Thanks Julian.<BR>I just stumbled across it by accidentally adding a URL param in the source.<BR><BR>So what's the accepted method for handling external text files in .htm format?<BR><BR>Now you see why I got curious.<BR>AW had hidden unsupported methods, right? ;-)<BR><BR>Dave<BR><BR><BR>
<HR id=EC_stopSpelling>
Subject: RE: [Xerte] Noob question<BR>Date: Thu, 29 Jan 2009 19:17:57 +0000<BR>From: Julian.Tenney@nottingham.ac.uk<BR>To: xerte@lists.nottingham.ac.uk<BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>

<DIV id=EC_EC_idOWAReplyText33078 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>It isn't.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>BUT</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>Under the hood, Xerte uses the same class to display graphic icons and text icons, so the &lt;DIS&gt; nodes can have url properties, but they refer to the URL for an image for the graphic icon. There's some code that goes </FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>if (node.attributes.type=='graphic'){</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>&nbsp; //add a graphic icon to the stage</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>} else if (node.attributes.type == 'text'){</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>&nbsp; ///add a text icon</FONT></DIV>
<DIV dir=ltr><FONT face=Arial>}</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial>If I were to rebuild it, there would be two classes. In fact there'd probbly be three, with one seperate one for swfs.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial></FONT>&nbsp;</DIV></DIV>
<DIV dir=ltr><BR>
<HR>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Dave Burnett<BR><B>Sent:</B> Thu 29/01/2009 17:02<BR><B>To:</B> Xerte list<BR><B>Subject:</B> [Xerte] Noob question<BR></FONT><BR></DIV>
<DIV>What's the URL parameter in the Text icon used for?<BR><BR><BR><BR>
<HR>
Windows Live&#8482; HotmailŪ&#8230;more than just e-mail. <A href="http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009">See how it works.</A> </DIV><BR>
<HR>
Windows Live&#8482; HotmailŪ:&#8230;more than just e-mail. <A href="http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_012009">Check it out.</A> </DIV><BR>
<HR>
Windows Live&#8482;: E-mail. Chat. Share. Get more ways to connect. <A href="http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_012009" target=_new>Check it out.</A> </DIV></BODY></HTML>