private void miSoundScripted_Click(object sender, System.EventArgs e) { Endogine.Scripting.FlowScript.ListPlayer pl = new Endogine.Scripting.FlowScript.ListPlayer(); System.IO.StreamReader rd = new System.IO.StreamReader(EH.Instance.CastLib.DirectoryPath + "FlowScript.txt"); if (Endogine.Scripting.EScript.Functions.Instance == null) { Endogine.Scripting.EScript.Functions funcs; funcs = new Endogine.Scripting.EScript.Functions(); } //Endogine.Scripting.EScript.Functions.SetUserValue("o", new Endogine.Sound()); pl.Run(rd.ReadToEnd()); }
private void miSoundScripted_Click(object sender, System.EventArgs e) { Endogine.Scripting.FlowScript.ListPlayer pl = new Endogine.Scripting.FlowScript.ListPlayer(); System.IO.StreamReader rd = new System.IO.StreamReader(EH.Instance.CastLib.DirectoryPath + "FlowScript.txt"); if (Endogine.Scripting.EScript.Functions.Instance == null) { Endogine.Scripting.EScript.Functions funcs; funcs = new Endogine.Scripting.EScript.Functions(); } //Endogine.Scripting.EScript.Functions.SetUserValue("o", new Endogine.Sound()); pl.Run(rd.ReadToEnd()); }