Examples of ScriptLimitsTag


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

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

                bitStream.readUI8());
    }

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

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

    @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

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

            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

Examples of tv.porst.swfretools.parser.tags.ScriptLimitsTag

      addNode("CharacterID", ctag.getCharacterId());
      addNode("Depth", ctag.getDepth());
    }
    else if (tag instanceof ScriptLimitsTag) {
      final ScriptLimitsTag ctag = (ScriptLimitsTag) tag;

      addNode("MaxRecursionDepth", ctag.getMaxRecursionDepth());
      addNode("ScriptTimeoutSeconds", ctag.getScriptTimeoutSeconds());
    }
    else if (tag instanceof SetBackgroundColorTag) {
      final SetBackgroundColorTag ctag = (SetBackgroundColorTag) tag;

      addNode("BackgroundColor", ctag.getBackgroundColor());
    }
    else if (tag instanceof SetTabIndexTag) {
      final SetTabIndexTag ctag = (SetTabIndexTag) tag;

      addNode("Depth", ctag.getDepth());
      addNode("TabIndex", ctag.getTabIndex());
    }
    else if (tag instanceof ShowFrameTag) {
      // Nothing to do here
    }
    else if (tag instanceof SoundStreamBlockTag) {
      final SoundStreamBlockTag ctag = (SoundStreamBlockTag) tag;

      addNode("StreamSoundData", ctag.getStreamSoundData());
    }
    else if (tag instanceof SoundStreamHead2Tag) {
      final SoundStreamHead2Tag ctag = (SoundStreamHead2Tag) tag;

      addNode("Reserved", ctag.getReserved());
      addNode("PlaybackSoundRate", ctag.getPlaybackSoundRate());
      addNode("PlaybackSoundSize", ctag.getPlaybackSoundSize());
      addNode("PlaybackSoundType", ctag.getPlaybackSoundType());
      addNode("StreamSoundCompression", ctag.getStreamSoundCompression());
      addNode("StreamSoundRate", ctag.getStreamSoundRate());
      addNode("StreamSoundSize", ctag.getStreamSoundSize());
      addNode("StreamSoundType", ctag.getStreamSoundType());
      addNode("StreamSoundSampleCount", ctag.getStreamSoundSampleCount());
      addNode("LatencySeek", ctag.getLatencySeek());
    }
    else if (tag instanceof SoundStreamHeadTag) {
      final SoundStreamHeadTag ctag = (SoundStreamHeadTag) tag;

      addNode("Reserved", ctag.getReserved());
      addNode("PlaybackSoundRate", ctag.getPlaybackSoundRate());
      addNode("PlaybackSoundSize", ctag.getPlaybackSoundSize());
      addNode("PlaybackSoundType", ctag.getPlaybackSoundType());
      addNode("StreamSoundCompression", ctag.getStreamSoundCompression());
      addNode("StreamSoundRate", ctag.getStreamSoundRate());
      addNode("StreamSoundSize", ctag.getStreamSoundSize());
      addNode("StreamSoundType", ctag.getStreamSoundType());
      addNode("StreamSoundSampleCount", ctag.getStreamSoundSampleCount());
      addNode("LatencySeek", ctag.getLatencySeek());
    }
    else if (tag instanceof StartSound2Tag) {
      final StartSound2Tag ctag = (StartSound2Tag) tag;

      addNode("SoundClassName", ctag.getSoundClassName());
      addNode("SoundInfo", ctag.getSoundInfo());
    }
    else if (tag instanceof StartSoundTag) {
      final StartSoundTag ctag = (StartSoundTag) tag;

      addNode("SoundID", ctag.getSoundId());
      addNode("SoundInfo", ctag.getSoundInfo());
    }
    else if (tag instanceof SymbolClassTag) {
      final SymbolClassTag ctag = (SymbolClassTag) tag;

      addNode("NumSymbols", ctag.getNumSymbols());
      addNode("Symbols", ctag.getSymbols());
    }
    else if (tag instanceof VideoFrameTag) {
      final VideoFrameTag ctag = (VideoFrameTag) tag;

      addNode("StreamID", ctag.getStreamId());
      addNode("FrameNum", ctag.getFrameNum());
      addNode("VideoData", ctag.getVideoData());
    }
    else if (tag instanceof RawABCTag) {
      final RawABCTag ctag = (RawABCTag) tag;

      addNode("ABCData", ctag.getAbcData());
    }
    else if (tag instanceof DoABCTag) {
      final DoABCTag ctag = (DoABCTag) tag;

      addNode("Name", ctag.getName());
      addNode("Flags", ctag.getFlags());
      addNode("ABCData", ctag.getAbcData());
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.