コード例 #1
0
        /// <summary>Dispatches an event of the given name.</summary>
        public void dispatch(string name)
        {
            SlideEvent se = new SlideEvent("timeline" + name, null);

            se.timeline = this;
            se.SetTrusted(true);
            dispatchEvent(se);
        }
コード例 #2
0
        /// <summary>Creates an event relative to this track. Type is 'as-is'.</summary>
        public SlideEvent createRawEvent(string type)
        {
            SlideEvent de = new SlideEvent(type, null);

            de.timeline = timeline;
            de.track    = this;
            de.SetTrusted();
            return(de);
        }