Erez Boym wrote:
> Hi,
>
> I have managed to get rid of the error messages but the event I am adding 
> does not show.
>
> I am using:
> myTimeLine = Timeline.create(document.getElementById("tlSchedule"), 
> bandInfos);
> var evt = new Timeline.DefaultEventSource.Event(
>      new Date(),
>      "",
>      "",
>      "",
>      "false",
>      "Event title",
>      "Event Description",
>      "",
>      "",
>      "",
>      "",
>      ""
> );
> myTimeLine.getBand(0).getEventSource().add(evt);
>
> Is there a TimeLine refresh  function or some other operation I need to add 
> to make it displayed ?
>   
Try to put all the events into an array and then call

    myTimeline.getBand(0).getEventSource().addMany(theArray);

David

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to