public void Push(int DicIndex) { SwfDotnet.Format.ActionScript.Action item = new SwfDotnet.Format.ActionScript.Action(150); item.Add(new UI8(5)); item.Add(new UI8(DicIndex)); this.Add(item); }
public void Push(string Data) { SwfDotnet.Format.ActionScript.Action item = new SwfDotnet.Format.ActionScript.Action(150); item.Add(new UI8(0)); item.Add(new STRING(Data)); this.Add(item); }
public void Push2(int Data, int Data2) { SwfDotnet.Format.ActionScript.Action item = new SwfDotnet.Format.ActionScript.Action(150); item.Add(new UI8(8)); item.Add(new UI8(Data)); item.Add(new UI8(8)); item.Add(new UI8(Data2)); this.Add(item); }
public void DeclareDictionary(string[] data) { SwfDotnet.Format.ActionScript.Action item = new SwfDotnet.Format.ActionScript.Action(0x88); item.Add(new UI16(data.Length)); for (int i = 0; i < data.Length; i++) { item.Add(new STRING(data[i], true)); } this.Add(item); }
public void gotoAndPlay(int FrameNumber) { SwfDotnet.Format.ActionScript.Action item = new SwfDotnet.Format.ActionScript.Action(0x81); item.Add(new UI16(FrameNumber - 1)); this.Add(item); this.Play(); }
public void TellTarget(string Name) { SwfDotnet.Format.ActionScript.Action item = new SwfDotnet.Format.ActionScript.Action(0x8b); item.Add(new STRING(Name)); this.Add(item); }
public void Push3(string Data, string Data2, string Data3) { SwfDotnet.Format.ActionScript.Action item = new SwfDotnet.Format.ActionScript.Action(150); item.Add(new UI8(0)); item.Add(new STRING(Data)); item.Add(new UI8(0)); item.Add(new STRING(Data2)); item.Add(new UI8(0)); item.Add(new STRING(Data3)); this.Add(item); }