public override bool Equals(System.Object object_Renamed) { bool isEqual = false; if (base.Equals(object_Renamed) && (object_Renamed is FrameLabel)) { FrameLabel frameLabel = (FrameLabel)object_Renamed; if (equals(frameLabel.label, this.label) && (frameLabel.anchor == this.anchor)) { isEqual = true; } } return(isEqual); }
public override void frameLabel(FrameLabel tag) { tags.Add(tag); }
public virtual void frameLabel(FrameLabel tag) { }
private Tag decodeFrameLabel(int length) { FrameLabel t = new FrameLabel(); int pos = r.Offset; t.label = r.readString(); if (SwfVersion >= 6) { if (length - r.Offset + pos == 1) { int anchor = r.readUI8(); if (anchor != 0 && anchor != 1) handler.error("illegal anchor value: " + anchor + ". Must be 0 or 1"); // player treats any nonzero value as true t.anchor = (anchor != 0); } } return t; }