SwfDotNet.IO.ByteCode.CodeWalker.CodeWalker C# (CSharp) Method

CodeWalker() public method

Constructor.
public CodeWalker ( ArrayList actions ) : System
actions System.Collections.ArrayList ArrayList of BaseAction objects.
return System
        public CodeWalker(ArrayList actions)
        {
            actionRec = actions;
            labelIndexTable= new SortedList();

            // fill labelIndexTable
            for (int i=0; i<actions.Count; i++) {
                ActionLabel lbl = actions[i] as ActionLabel;
                if (lbl!=null) {
                    labelIndexTable[lbl.LabelId] = i;
                }
            }
        }