Package flash.swf.actions

Examples of flash.swf.actions.Label


    }

    public Label getLabel(int target)
    {
        int i = target-startOffset;
        Label label = null;

        // See http://bugs.adobe.com/jira/browse/SDK-23169, for a SWF
        // where i is negative.  This seems like a broken SWF, because
        // a branch is trying to jump before the start of the
        // DoInitAction.  To avoid a ArrayIndexOutOfBoundsException,
        // do a range check.
        if ((i >= 0) && (i < labels.length))
        {
            label = labels[i];

            if (label == null)
            {
                labels[i] = label = new Label();
                count++;
            }
        }

        return label;
View Full Code Here

TOP

Related Classes of flash.swf.actions.Label

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.