Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
		public override void  frameLabel(FrameLabel tag)
		{
			tags.Add(tag);
		}
Exemplo n.º 3
0
		public virtual void  frameLabel(FrameLabel tag)
		{
		}
Exemplo n.º 4
0
		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;
		}