Package org.apache.flex.swf.tags

Examples of org.apache.flex.swf.tags.ScriptLimitsTag


        ProductInfoTag productInfo = swf.getProductInfo();
        if (productInfo != null)
            writeTag(productInfo);

        // ScriptLimits tag
        final ScriptLimitsTag scriptLimitsTag = swf.getScriptLimits();
        if (scriptLimitsTag != null)
            writeTag(scriptLimitsTag);

        // Frames and enclosed tags.
        writeFrames();
View Full Code Here


                bitStream.readUI8());
    }

    private ScriptLimitsTag readScriptLimits()
    {
        return new ScriptLimitsTag(bitStream.readUI16(), bitStream.readUI16());
    }
View Full Code Here

    @Override
    public void setScriptLimits(int maxRecursionDepth, int scriptTimeoutSeconds)
    {
        // TODO: check for value range and report problem or clamp value
        // They should both be UI16.
        scriptLimits = new ScriptLimitsTag(maxRecursionDepth, scriptTimeoutSeconds);
    }
View Full Code Here

            result.setBackgroundColor(unLinked.getBackgroundColor());
        result.setEnableDebugger2(unLinked.getEnableDebugger2());
        result.setFrameRate(unLinked.getFrameRate());
        result.setFrameSize(unLinked.getFrameSize());
        result.setMetadata(unLinked.getMetadata());
        ScriptLimitsTag scriptLimits = unLinked.getScriptLimits();
        if (scriptLimits != null)
            result.setScriptLimits(scriptLimits.getMaxRecursionDepth(), scriptLimits.getScriptTimeoutSeconds());
        result.setTopLevelClass(unLinked.getTopLevelClass());
        result.setUseAS3(unLinked.getUseAS3());
        result.setUseDirectBlit(unLinked.getUseDirectBlit());
        result.setUseGPU(unLinked.getUseGPU());
        result.setUseNetwork(unLinked.getUseNetwork());
View Full Code Here

TOP

Related Classes of org.apache.flex.swf.tags.ScriptLimitsTag

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.