<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>

<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><SPAN class=184304807-08072008><FONT face=Arial 
color=#0000ff>If you wanted to get at the events right off an XML object, I'd 
have to subclass the native XML class and override the onLoad method. It would 
give a class in xerte called, say, xXML, and I think you'd then be able to hook 
up event handlers to it. I've not found a need to do this so far though, and 
I've not tried it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=184304807-08072008><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=184304807-08072008><FONT face=Arial 
color=#0000ff>It is rare to need to load up two or more xml files for a piece. 
The engine already handles loading up one file quite nicely as the LO 
initialises through the templateData property,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=184304807-08072008><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=184304807-08072008><FONT face=Arial 
color=#0000ff>J</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> xerte-bounces@lists.nottingham.ac.uk 
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Dave 
Burnett<BR><B>Sent:</B> 07 July 2008 16:49<BR><B>To:</B> Xerte discussion 
list<BR><B>Subject:</B> RE: [Xerte] XML loading<BR></FONT><BR></DIV>
<DIV></DIV>&nbsp;<BR>Aha, cool.<BR>&nbsp;<BR>I just didn't want to use something 
that would bust in the interpreter or something.<BR>&nbsp;<BR>Figures I would 
stumble across something like this on the first try, before I knew what the 
obvious answer was, :-/<BR>&nbsp;<BR>Dave<BR>&nbsp;<BR>&nbsp;<BR>&gt; &gt;So 
Flash seems to be pretty loose with the function structure?<BR>&gt; <BR>&gt; No, 
not really. xml.sendAndLoad is a native method of the XML class in<BR>&gt; 
Flash; iconID.sendAndLoad is a method of the Xerte ICON class. It's done<BR>&gt; 
this way so that the icon can broadcast the event, as I can't hook up an<BR>&gt; 
XML object to Xerte's event broadcasting abilities. AS you point out,<BR>&gt; 
the params are inverted - when I wrote the icon method<BR>&gt; 
iconID.sendAndLoad(objectToSend, placeToSendIt) seemed to make more<BR>&gt; 
sense.<BR><BR><BR>
<HR>
Use video conversation to talk face-to-face with Windows Live Messenger. <A 
href="http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008" 
target=_new>Get started.</A> </BODY></HTML>