Hi gf,
My understanding is that you can manipulate the xml in the callback
function before calling eventSource.loadXML
example:
tl = Timeline.create(document.getElementById("tl"),
bandInfos, Timeline.HORIZONTAL);
tl.loadXML("jfk.xml", function(xml, url) {
// manipulate xml object here
// then call
eventSource.loadXML(xml, url);
});
Hope this helped,
Larry
On Oct 1, 8:13 pm, g f <[EMAIL PROTECTED]> wrote:
> Hello all,
> I have a need to manipulate the EventSource prior to it loading into
> timeline.
> Seems like this is not possible until the EventSource is actually
> already loaded into timeline.
> I tried alert(eventSource.getEarliestDate()) and received a null.
>
> My idea was to create a javascript XML DOM object from the XML String
> and then do my manipulation and then call:
> Timeline.loadXML(JAVASCRIPT_DOM_OBJECT, function(xml, url)
> { eventSource.loadXML(xml, url); });
>
> Is this possible or perhaps is it possible to pass a String instead of
> a JS_DOM_OBJ?
>
> I had seen a post a year or so ago and David had shown someone how to
> pass the string but I cannot find that post.
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---