⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fsaction.java

📁 利用opensource的开源jar实现生成flash文件
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
    /// Type identifying a GetProperty stack-based action.
    public static final int GetProperty      = 34;
    /// Type identifying a SetProperty stack-based action.
    public static final int SetProperty      = 35;
    /// Type identifying a CloneSprite stack-based action.
    public static final int CloneSprite      = 36;
    /// Type identifying a RemoveSprite stack-based action.
    public static final int RemoveSprite     = 37;
    /// Type identifying a Trace stack-based action.
    public static final int Trace            = 38;
    /// Type identifying a StartDrag stack-based action.
    public static final int StartDrag        = 39;
    /// Type identifying a EndDrag stack-based action.
    public static final int EndDrag          = 40;
    /// Type identifying a StringLess stack-based action.
    public static final int StringLess       = 41;
    /// Type identifying a RandomNumber stack-based action.
    public static final int RandomNumber     = 48;
    /// Type identifying a MBStringLength stack-based action.
    public static final int MBStringLength   = 49;
    /// Type identifying a CharToAscii stack-based action.
    public static final int CharToAscii      = 50;
    /// Type identifying a AsciiToChar stack-based action.
    public static final int AsciiToChar      = 51;
    /// Type identifying a GetTime stack-based action.
    public static final int GetTime          = 52;
    /// Type identifying an MBStringExtract stack-based action.
    public static final int MBStringExtract  = 53;
    /// Type identifying an MBCharToAscii stack-based action.
    public static final int MBCharToAscii    = 54;
    /// Type identifying an MBAsciiToChar stack-based action.
    public static final int MBAsciiToChar    = 55;
// Flash 5
    /// Type identifying a DeleteVariable stack-based action.
    public static final int DeleteVariable   = 58;
    /// Type identifying a Delete stack-based action.
    public static final int Delete             = 59;
    /// Type identifying a InitVariable stack-based action.
    public static final int InitVariable     = 60;
    /// Type identifying a ExecuteFunction stack-based action.
    public static final int ExecuteFunction  = 61;
    /// Type identifying a Return stack-based action.
    public static final int Return           = 62;
    /// Type identifying a Modulo stack-based action.
    public static final int Modulo             = 63;
    /// Type identifying a NamedObject stack-based action.
    public static final int NamedObject      = 64;
    /// Type identifying a NewVariable stack-based action.
    public static final int NewVariable      = 65;
    /// Type identifying a NewArray stack-based action.
    public static final int NewArray         = 66;
    /// Type identifying a NewObject stack-based action.
    public static final int NewObject        = 67;
    /// Type identifying a GetType stack-based action.
    public static final int GetType          = 68;
    /// Type identifying a GetTarget stack-based action.
    public static final int GetTarget        = 69;
    /// Type identifying an Enumerate stack-based action.
    public static final int Enumerate        = 70;
    /// Type identifying an Add stack-based action.
    public static final int Add              = 71;
    /// Type identifying a Less stack-based action.
    public static final int Less             = 72;
    /// Type identifying an Equals stack-based action.
    public static final int Equals           = 73;
    /// Type identifying a ToNumber stack-based action.
    public static final int ToNumber         = 74;
    /// Type identifying a ToString stack-based action.
    public static final int ToString         = 75;
    /// Type identifying a Duplicate stack-based action.
    public static final int Duplicate        = 76;
    /// Type identifying a Swap stack-based action.
    public static final int Swap             = 77;
    /// Type identifying a GetAttribute stack-based action.
    public static final int GetAttribute     = 78;
    /// Type identifying a SetAttribute stack-based action.
    public static final int SetAttribute     = 79;
    /// Type identifying an Increment stack-based action.
    public static final int Increment        = 80;
    /// Type identifying a Decrement stack-based action.
    public static final int Decrement        = 81;
    /// Type identifying an ExecuteMethod stack-based action.
    public static final int ExecuteMethod    = 82;
    /// Type identifying a NewMethod stack-based action.
    public static final int NewMethod        = 83;
    /// Type identifying a BitwiseAnd stack-based action.
    public static final int BitwiseAnd       = 96;
    /// Type identifying a BitwiseOr stack-based action.
    public static final int BitwiseOr        = 97;
    /// Type identifying a BitwiseXOr stack-based action.
    public static final int BitwiseXOr       = 98;
    /// Type identifying a LogicalShiftLeft stack-based action.
    public static final int LogicalShiftLeft = 99;
    /// Type identifying an ArithmeticShiftRight stack-based action.
    public static final int ArithmeticShiftRight = 100;
    /// Type identifying a LogicalShiftRight stack-based action.
    public static final int LogicalShiftRight    = 101;
// Flash 6
    /// Type identifying an InstanceOf stack-based action.
    public static final int InstanceOf      = 84;
    /// Type identifying an EnumerateObject stack-based action.
    public static final int EnumerateObject = 85;
    /// Type identifying a StrictEquals stack-based action.
    public static final int StrictEquals    = 102;
    /// Type identifying a Greater stack-based action.
    public static final int Greater         = 103;
    /// Type identifying a StringGreater stack-based action.
    public static final int StringGreater   = 104;
// Flash 7
    /// Type identifying a Throw stack-based action.
    public static final int Throw      = 42;
    /// Type identifying a Cast stack-based action.
    public static final int Cast       = 43;
    /// Type identifying an Implements stack-based action.
    public static final int Implements = 44;
    /// Type identifying an Extends stack-based action.
    public static final int Extends    = 105;
    
    static String[] names = {
        "",
        "",
        "",
        "",
        "NextFrame",        // 4;
        "PrevFrame",        // 5;
        "Play",             // 6;
        "Stop",             // 7;
        "ToggleQuality",    // 8;
        "StopSounds",       // 9;
        "IntegerAdd",       // 10;
        "Subtract",         // 11;
        "Multiply",         // 12;
        "Divide",           // 13;
        "IntegerEquals",    // 14;
        "IntegerLess",      // 15;
        "And",              // 16;
        "Or",               // 17;
        "Not",              // 18;
        "StringEquals",     // 19;
        "StringLength",     // 20;
        "StringExtract",    // 21;
        "", 
        "Pop",              // 23;
        "ToInteger",        // 24;
        "",
        "", 
        "",
        "GetVariable",      // 28;
        "SetVariable",      // 29;
        "",
        "",
        "SetTarget2",       // 32;
        "StringAdd",        // 33;
        "GetProperty",      // 34;
        "SetProperty",      // 35;
        "CloneSprite",      // 36;
        "RemoveSprite",     // 37;
        "Trace",            // 38;
        "StartDrag",        // 39;
        "EndDrag",          // 40;
        "StringLess",       // 41;
        "Throw",            // 42;
        "Cast",             // 43;
        "Implements",       // 44;
        "",
        "",
        "",
        "RandomNumber",     // 48;
        "MBStringLength",   // 49;
        "CharToAscii",      // 50;
        "AsciiToChar",      // 51;
        "GetTime",          // 52;
        "MBStringExtract",  // 53;
        "MBCharToAscii",    // 54;
        "MBAsciiToChar",    // 55;
        "",
        "",
        "DeleteVariable",   // 58;
        "Delete",            // 59;
        "InitVariable",     // 60;
        "ExecuteFunction",  // 61;
        "Return",           // 62;
        "Modulo",           // 63;
        "NamedObject",      // 64;
        "NewVariable",      // 65;
        "NewArray",         // 66;
        "NewObject",        // 67;
        "GetType",          // 68;
        "GetTarget",        // 69;
        "Enumerate",        // 70;
        "Add",              // 71;
        "Less",             // 72;
        "Equals",           // 73;
        "ToNumber",         // 74;
        "ToString",         // 75;
        "Duplicate",        // 76;
        "Swap",             // 77;
        "GetAttribute",     // 78;
        "SetAttribute",     // 79;
        "Increment",        // 80;
        "Decrement",        // 81;
        "ExecuteMethod",    // 82;
        "NewMethod",        // 83;
        "InstanceOf",       // 84;
        "EnumerateObject",  // 85;
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "BitwiseAnd",           // 96;
        "BitwiseOr",            // 97;
        "BitwiseXOr",           // 98;
        "LogicalShiftLeft",     // 99;
        "ArithmeticShiftRight", // 100;
        "LogicalShiftRight",    // 101;
        "StrictEquals",         // 102;
        "Greater",              // 103;
        "StringGreater",        // 104;
        "Extends",              // 105;
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        "",  // 127
    };

    private static final FSAction[] actions = {
        null,
        null,
        null,
        null,
        new FSAction(FSAction.NextFrame),        // 4;
        new FSAction(FSAction.PrevFrame),        // 5;
        new FSAction(FSAction.Play),             // 6;
        new FSAction(FSAction.Stop),             // 7;
        new FSAction(FSAction.ToggleQuality),    // 8;
        new FSAction(FSAction.StopSounds),       // 9;
        new FSAction(FSAction.IntegerAdd),       // 10;
        new FSAction(FSAction.Subtract),         // 11;
        new FSAction(FSAction.Multiply),         // 12;
        new FSAction(FSAction.Divide),           // 13;
        new FSAction(FSAction.IntegerEquals),    // 14;
        new FSAction(FSAction.IntegerLess),      // 15;
        new FSAction(FSAction.And),              // 16;
        new FSAction(FSAction.Or),               // 17;
        new FSAction(FSAction.Not),              // 18;
        new FSAction(FSAction.StringEquals),     // 19;
        new FSAction(FSAction.StringLength),     // 20;
        new FSAction(FSAction.StringExtract),    // 21;
        null, 
        new FSAction(FSAction.Pop),              // 23;
        new FSAction(FSAction.ToInteger),        // 24;
        null,
        null, 
        null,
        new FSAction(FSAction.GetVariable),      // 28;
        new FSAction(FSAction.SetVariable),      // 29;
        null,
        null,
        new FSAction(FSAction.SetTarget2),       // 32;
        new FSAction(FSAction.StringAdd),        // 33;
        new FSAction(FSAction.GetProperty),      // 34;
        new FSAction(FSAction.SetProperty),      // 35;
        new FSAction(FSAction.CloneSprite),      // 36;
        new FSAction(FSAction.RemoveSprite),     // 37;
        new FSAction(FSAction.Trace),            // 38;
        new FSAction(FSAction.StartDrag),        // 39;
        new FSAction(FSAction.EndDrag),          // 40;
        new FSAction(FSAction.StringLess),       // 41;
        new FSAction(FSAction.Throw),            // 42;
        new FSAction(FSAction.Cast),             // 43;
        new FSAction(FSAction.Implements),       // 44;
        null,
        null,
        null,
        new FSAction(FSAction.RandomNumber),     // 48;
        new FSAction(FSAction.MBStringLength),   // 49;
        new FSAction(FSAction.CharToAscii),      // 50;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -