// Decompiled by DJ v2.6.6.51 Copyright 2000 Atanas Neshkov  Date: 6/15/2001 17:06:38
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   com/macromedia/generator/commands/TableCommand

package com.macromedia.generator.commands;

import com.macromedia.generator.api.*;
import com.macromedia.generator.app.*;
import com.macromedia.generator.platform.Mac;
import com.macromedia.generator.utils.PropertyParser;
import com.macromedia.generator.utils.Tokenizer;
import java.io.File;
import java.util.Properties;

public class TableCommand extends GenericCommand
{

    public TableCommand()
    {
        _fld0162 = 1;
        _fld0163 = 1.0F;
        _fld0164 = 1;
        _fld0165 = 1.0F;
    }

    private int _mth0160(String s)
    {
        if(_fld0113 == null)
            return -1;
        for(int i = 0; i < _fld0113[0].length; i++)
            if(_fld0113[0][i].equalsIgnoreCase(s))
                return i;

        return -1;
    }

    int _mth0161(String s, int i)
    {
        int j = i;
        if(!s.equalsIgnoreCase("default"))
            try
            {
                j = Integer.valueOf(s).intValue();
            }
            catch(NumberFormatException _ex)
            {
                j = i;
            }
        return j;
    }

    public void doCommand(FlashEnvironment flashenvironment, Script script, Context context, int i, Properties properties)
        throws FlashCommandException
    {
        _fld0161 = script;
        _fld0160 = flashenvironment;
        _fld0144 = context;
        _fld0145 = properties;
        _fld0109 = new GenVector(16);
        try
        {
            Script script1 = (Script)_fld0109.add(_fld0161.getCommandScript(i));
            if(script1 == null)
                throw new FlashCommandException("movie clip missing");
            String s = _mth0166("datasource");
            PropertyParser propertyparser = new PropertyParser(getClass().getName(), _fld0160, _fld0144, _fld0145);
            _mth0167(propertyparser, "labelsizing");
            _fld0164 = _fld0162;
            _fld0165 = _fld0163;
            _mth0167(propertyparser, "sizing");
            String s1 = _mth0166("sizing");
            boolean flag = s1.equalsIgnoreCase(getResourceString(_fld0160, "auto"));
            s1 = _mth0166("labelsizing");
            boolean flag1 = s1.equalsIgnoreCase(getResourceString(_fld0160, "auto"));
            String s2 = null;
            if(propertyparser.HasParam("halign"))
            {
                if(propertyparser.ParamEquals("halign", "left"))
                    s2 = "left";
                else
                if(propertyparser.ParamEquals("halign", "right"))
                    s2 = "right";
                else
                if(propertyparser.ParamEquals("halign", "center"))
                {
                    s2 = "center";
                } else
                {
                    s2 = "center";
                    logError(_fld0160, "alignErr", propertyparser.GetStringParam("halign"));
                }
            } else
            {
                s2 = "center";
            }
            String s3 = null;
            if(propertyparser.HasParam("valign"))
            {
                if(propertyparser.ParamEquals("valign", "top"))
                    s3 = "top";
                else
                if(propertyparser.ParamEquals("valign", "bottom"))
                    s3 = "bottom";
                else
                if(propertyparser.ParamEquals("valign", "center"))
                {
                    s3 = "center";
                } else
                {
                    s3 = "center";
                    logError(_fld0160, "alignErr", propertyparser.GetStringParam("valign"));
                }
            } else
            {
                s3 = "center";
            }
            boolean flag2 = true;
            if(propertyparser.HasParam("borders"))
                if(propertyparser.ParamEquals("borders", "on"))
                    flag2 = true;
                else
                if(propertyparser.ParamEquals("borders", "off"))
                {
                    flag2 = false;
                } else
                {
                    int j = propertyparser.GetIntParam("borders", 1);
                    if(!propertyparser.Suceeded())
                        logError(_fld0160, "borderErr", propertyparser.GetStringParam("borders"));
                    else
                        flag2 = j != 0;
                }
            String s4 = null;
            if(propertyparser.HasParam("bordercolor"))
            {
                s4 = propertyparser.GetStringParam("bordercolor");
                int k;
                try
                {
                    k = Color.getRGBValue(s4);
                }
                catch(GeneratorApiException _ex)
                {
                    logError(_fld0160, "colorErr", propertyparser.GetStringParam("bordercolor"));
                    s4 = "black";
                }
            } else
            {
                s4 = "black";
            }
            int l = 20;
            if(propertyparser.HasParam("borderthickness"))
            {
                l = propertyparser.GetIntParam("borderthickness", 20);
                if(l <= 0)
                    flag2 = false;
            }
            if(!flag2)
                l = 0;
            int i1 = _mth0164("rows", 0);
            int j1 = _mth0164("cols", 0);
            if(i1 < 0)
            {
                logError(_fld0160, "RowFormatError", "");
                _fld0109.release();
                return;
            }
            if(j1 <= 0)
            {
                logError(_fld0160, "ColFormatError", "");
                _fld0109.release();
                return;
            }
            String s5 = _mth0166("clabels");
            String s6 = _mth0166("rlabels");
            String as[] = _mth0168(s5);
            String as1[] = _mth0168(s6);
            boolean flag3 = as.length != 0;
            boolean flag4 = as1.length != 0;
            boolean flag5 = flag3 || flag4;
            String s7 = _mth0166("labelformat");
            if(s7.equalsIgnoreCase(getResourceString(_fld0160, "Arial")))
                s7 = "tableLabel1";
            else
            if(s7.equalsIgnoreCase(getResourceString(_fld0160, "Times")))
                s7 = "tableLabel2";
            else
            if(s7.equalsIgnoreCase(getResourceString(_fld0160, "Courier")))
            {
                s7 = "tableLabel3";
            } else
            {
                s7 = "tableLabel1";
                if(propertyparser.HasParam("labelformat"))
                    logError(_fld0160, "labelFormatErr", propertyparser.GetStringParam("labelformat"));
            }
            if(as.length != 0 && !flag3)
                logError(_fld0160, "ColLabelCountError", (new Integer(j1)).toString() + " != " + (new Integer(as.length)).toString());
            if(as1.length != 0 && !flag4)
                logError(_fld0160, "RowLabelCountError", (new Integer(i1)).toString() + " != " + (new Integer(as1.length)).toString());
            String s9 = _fld0145.getProperty("mediafile", "");
            s9 = _fld0144.apply(s9);
            Object obj = null;
            Script script2 = null;
            Script script3 = null;
            Script script4 = null;
            if(flag5)
            {
                if(s9 != null && s9 != "")
                {
                    Mac mac = Mac.getMac();
                    File file;
                    if(mac != null)
                    {
                        String s10 = mac.makeJavaPretty(s9);
                        file = new File(s10);
                        if(!file.exists() || !file.isFile())
                            file = new File(s10.substring(1));
                    } else
                    {
                        file = new File(s9);
                    }
                    if(!file.isAbsolute())
                        file = new File(_fld0160.getDirectory(), file.getPath());
                    if(!file.exists() || !file.isFile())
                    {
                        logError(_fld0160, "MediaFileError", s9);
                    } else
                    {
                        script2 = (Script)_fld0109.add(new Script());
                        boolean flag7 = _fld0160.getPreviewMode();
                        script2.setFile(file.getPath(), flag7 ^ true);
                    }
                }
                if(script2 == null)
                {
                    script2 = _fld0160.loadDefaultSymbols();
                    if(script2 != null)
                        _fld0109.add(script2);
                }
                if(script2 != null)
                {
                    CacheManager cachemanager = _fld0160.getCacheManager();
                    if(cachemanager != null)
                        cachemanager.loadExternalFonts(_fld0160, script2);
                    if(flag4)
                    {
                        script3 = _mth0162(script2, s7);
                        if(script3 == null)
                        {
                            if(s9 != null && s9 != "")
                            {
                                s7 = "tableLabel1";
                                script3 = _mth0162(script2, s7);
                            }
                            if(script3 == null)
                            {
                                flag4 = false;
                                logError(_fld0160, "MediaFileError", "");
                            }
                        }
                    }
                    if(flag3)
                    {
                        script4 = _mth0162(script2, s7);
                        if(script4 == null)
                        {
                            if(s9 != null && s9 != "")
                            {
                                String s8 = "tableLabel1";
                                script4 = _mth0162(script2, s8);
                            }
                            if(script4 == null)
                            {
                                flag3 = false;
                                logError(_fld0160, "MediaFileError", "");
                            }
                        }
                    }
                }
            }
            boolean flag6 = true;
            Rect rect = (Rect)_fld0109.add(_fld0161.getCommandRect(i));
            int k1 = rect.getXMin();
            int l1 = rect.getYMin();
            int i2 = rect.getXMax();
            int j2 = rect.getYMax();
            float f = i2 - k1;
            float f1 = j2 - l1;
            String s11 = _mth0166("instancename");
            UrlDataSource urldatasource = new UrlDataSource();
            urldatasource.setEnvironment(_fld0160);
            if(s != "")
                _fld0113 = urldatasource.getData(s);
            int k2 = _mth0160("clip");
            Script script5 = null;
            String s12 = _mth0166("defsym");
            if(s12.length() > 0 && k2 < 0)
                script5 = _mth0163(s12);
            if(k2 == -1 && script5 == null)
            {
                logError(_fld0160, "DataSourceError", "");
                _fld0109.release();
                return;
            }
            int l2 = _mth0160("instancename");
            if(_fld0113 == null && script5 == null)
            {
                logError(_fld0160, "DataSourceError", s);
                return;
            }
            boolean flag8 = true;
            if(_fld0113 != null)
                flag8 = i1 * j1 == _fld0113.length - 1;
            if(!flag8)
                if(i1 == 0)
                {
                    i1 = (_fld0113.length - 1) / j1;
                    if(i1 <= 0)
                    {
                        logError(_fld0160, "DataSourceError", "");
                        _fld0109.release();
                        return;
                    }
                } else
                {
                    if(i1 * j1 > _fld0113.length - 1)
                    {
                        logWarning(_fld0160, "insufficientData", s);
                        i1 = (_fld0113.length - 1) / j1;
                    } else
                    {
                        logWarning(_fld0160, "extraData", s);
                    }
                    if(i1 <= 0)
                    {
                        logError(_fld0160, "RowFormatError", "");
                        _fld0109.release();
                        return;
                    }
                }
            int i3 = i1;
            if(flag3)
                i1++;
            int j3 = j1;
            if(flag4)
                j1++;
            if(flag2)
            {
                int k3 = i1 <= j1 ? j1 + 1 : i1 + 1;
                int l3 = (int)(i1 <= j1 ? f : f1);
                byte byte0 = 40;
                int j4 = (l3 - k3 * byte0) / (k3 + 1);
                if(l > j4)
                    l = j4;
            } else
            {
                l = 0;
            }
            int ai[] = new int[i1];
            int ai1[] = new int[j1];
            int i4 = (int)((f - (float)((j1 + 1) * l)) / (float)j1);
            int k4 = (int)((f1 - (float)((i1 + 1) * l)) / (float)i1);
            for(int l4 = 0; l4 < i1; l4++)
                ai[l4] = k4;

            for(int i5 = 0; i5 < j1; i5++)
                ai1[i5] = i4;

            Script ascript[][] = new Script[i1][j1];
            int j5 = i3 * j3;
            for(int k5 = 1; k5 <= j5; k5++)
            {
                int l5 = (k5 - 1) / j3;
                int i6 = k5 - 1 - l5 * j3;
                if(flag3)
                    l5++;
                if(flag4)
                    i6++;
                Context context1 = (Context)_fld0109.add(new Context());
                context1.setParent(context);
                if(_fld0113 != null)
                {
                    for(int l7 = 0; l7 < _fld0113[k5].length; l7++)
                    {
                        String s13 = _fld0113[0][l7];
                        String s14 = _fld0113[k5][l7];
                        context1.setValue(s13, s14);
                    }

                }
                if(script5 == null)
                    ascript[l5][i6] = _mth0163(_fld0113[k5][k2]);
                else
                    ascript[l5][i6] = script5;
                if(ascript[l5][i6] != null)
                {
                    ascript[l5][i6] = (Script)_fld0109.add(ascript[l5][i6].copyScript());
                    _fld0160.processScript(ascript[l5][i6], context1);
                } else
                {
                    logError(_fld0160, "UnableToFindSymbol", _fld0113[k5][k2]);
                }
                _fld0109.release(context1);
            }

            if(flag3)
            {
                boolean flag9 = false;
                int j6 = 0;
                if(flag4)
                    flag9 = true;
                for(int i7 = flag9; i7 < j1; i7++)
                {
                    if(j6 >= as.length)
                        break;
                    Context context2 = (Context)_fld0109.add(new Context());
                    context2.setParent(_fld0144);
                    ascript[0][i7] = script4;
                    context2.setValue("label", as[j6]);
                    j6++;
                    if(ascript[0][i7] != null)
                    {
                        ascript[0][i7] = (Script)_fld0109.add(ascript[0][i7].copyScript());
                        _fld0160.processScript(ascript[0][i7], context2);
                    } else
                    {
                        logError(_fld0160, "UnableToFindSymbol", "label");
                    }
                    _fld0109.release(context2);
                }

            }
            if(flag4)
            {
                boolean flag10 = false;
                int k6 = 0;
                if(flag3)
                    flag10 = true;
                for(int j7 = flag10; j7 < i1; j7++)
                {
                    if(k6 >= as1.length)
                        break;
                    Context context3 = (Context)_fld0109.add(new Context());
                    context3.setParent(_fld0144);
                    ascript[j7][0] = script3;
                    context3.setValue("label", as1[k6]);
                    k6++;
                    if(ascript[j7][0] != null)
                    {
                        ascript[j7][0] = (Script)_fld0109.add(ascript[j7][0].copyScript());
                        _fld0160.processScript(ascript[j7][0], context3);
                    } else
                    {
                        logError(_fld0160, "UnableToFindSymbol", "label");
                    }
                    _fld0109.release(context3);
                }

            }
            Script script6 = script1;
            int l6 = _fld0161.getCommandFrameCount(i);
            if(flag2)
            {
                Shape shape = _mth014A(rect, i1, j1, s4, l);
                Matrix matrix = (Matrix)_fld0109.add(new Matrix());
                script6.insertShape(shape, 0, 0, matrix, l6, matrix);
            }
            boolean flag11 = false;
            int i8 = l;
            boolean flag12 = false;
            boolean flag13 = false;
            for(int l8 = 0; l8 < i1; l8++)
            {
                int k7 = l;
                for(int i9 = 0; i9 < j1; i9++)
                {
                    if(ascript[l8][i9] != null)
                    {
                        Matrix matrix1 = (Matrix)_fld0109.add(new Matrix());
                        Rect rect1 = ascript[l8][i9].getBounds();
                        float f4 = rect1.getYMin();
                        float f5 = rect1.getYMax();
                        float f3 = (float)ai[l8] / (float)(1.1000000000000001D * (double)(f5 - f4));
                        float f6 = rect1.getXMin();
                        float f7 = rect1.getXMax();
                        float f2 = (float)ai1[i9] / (float)(1.1000000000000001D * (double)(f7 - f6));
                        if(f2 < f3)
                            f3 = f2;
                        else
                            f2 = f3;
                        boolean flag14 = false;
                        if(i9 == 0 && flag4 || l8 == 0 && flag3)
                        {
                            flag14 = true;
                            switch(_fld0164)
                            {
                            case 2: // '\002'
                                f2 = 1.0F;
                                f3 = 1.0F;
                                break;

                            case 3: // '\003'
                                f2 = _fld0165;
                                f3 = _fld0165;
                                break;

                            case 4: // '\004'
                                float f8 = f7 - f6;
                                f2 = (double)f8 <= 0.001D ? 1.0F : _fld0165 / f8;
                                f3 = f2;
                                break;
                            }
                            matrix1.setXScale(f2);
                            matrix1.setYScale(f3);
                        } else
                        {
                            switch(_fld0162)
                            {
                            case 2: // '\002'
                                f2 = 1.0F;
                                f3 = 1.0F;
                                break;

                            case 3: // '\003'
                                f2 = _fld0163;
                                f3 = _fld0163;
                                break;

                            case 4: // '\004'
                                float f9 = f7 - f6;
                                f2 = (double)f9 <= 0.001D ? 1.0F : _fld0163 / f9;
                                f3 = f2;
                                break;
                            }
                            matrix1.setXScale(f2);
                            matrix1.setYScale(f3);
                        }
                        int j8;
                        if(!flag14 && s2.equalsIgnoreCase(getResourceString(_fld0160, "left")))
                            j8 = (int)((float)(k1 + k7) - (float)(int)f6 * f2);
                        else
                        if(!flag14 && s2.equalsIgnoreCase(getResourceString(_fld0160, "right")))
                        {
                            j8 = (k1 + k7 + ai1[i9]) - (int)(f7 * f2);
                        } else
                        {
                            j8 = k1 + k7 + ai1[i9] / 2;
                            j8 = (int)((double)j8 - 0.5D * (double)(f6 + f7) * (double)f2);
                        }
                        int k8;
                        if(!flag14 && s3.equalsIgnoreCase(getResourceString(_fld0160, "top")))
                            k8 = (l1 + i8) - (int)(f4 * f3);
                        else
                        if(!flag14 && s3.equalsIgnoreCase(getResourceString(_fld0160, "bottom")))
                        {
                            k8 = (l1 + i8 + ai[l8]) - (int)(f5 * f3);
                        } else
                        {
                            k8 = l1 + i8 + ai[l8] / 2;
                            k8 = (int)((double)k8 - 0.5D * (double)(f4 + f5) * (double)f3);
                        }
                        matrix1.setXOffset(j8);
                        matrix1.setYOffset(k8);
                        String s15 = null;
                        if(l2 != -1)
                        {
                            int j9 = l8;
                            int k9 = i9;
                            if(flag4)
                                k9--;
                            if(flag3)
                                j9--;
                            if(j9 >= 0 && k9 >= 0)
                            {
                                int l9 = j9 * j3 + k9 + 1;
                                s15 = _fld0113[l9][l2];
                            }
                        }
                        script6.insertObject(ascript[l8][i9], 0, 0, matrix1, l6, matrix1, null, s15);
                    }
                    k7 += ai1[i9] + l;
                }

                i8 += ai[l8] + l;
            }

            if(flag6)
                _fld0161.setCommandMask(i, _mth0165(rect));
            try
            {
                if(s11 != null)
                    _fld0161.setCommandLabel(i, s11);
            }
            catch(GeneratorApiException _ex)
            {
                logError(_fld0160, "UnableToSetInstanceName", s11);
            }
        }
        catch(GeneratorApiException _ex)
        {
            logError(_fld0160, "ErrorCreatingTable", null);
        }
        _fld0109.release();
    }

    private Script _mth0162(Script script, String s)
    {
        Script script1 = (Script)_fld0109.add(script.findScript(s));
        if(script1 == null)
            script1 = (Script)_fld0109.add(_fld0160.getTemplate().findScript(s));
        return script1;
    }

    private Script _mth0163(String s)
    {
        Script script = (Script)_fld0109.add(_fld0161.findScript(s));
        if(script == null)
            script = (Script)_fld0109.add(_fld0160.getTemplate().findScript(s));
        return script;
    }

    private Shape _mth014A(Rect rect, int i, int j, String s, int k)
    {
        Shape shape = null;
        Object obj = null;
        try
        {
            shape = (Shape)_fld0109.add(new Shape());
            Color color = (Color)_fld0109.add(new Color());
            color.setRGBValue(s);
            LineStyle linestyle = (LineStyle)_fld0109.add(new LineStyle());
            linestyle.setWidth(k > 20 ? 25 : 20);
            linestyle.setColor(color);
            shape.setLineStyle(linestyle);
            Shape shape1 = (Shape)_fld0109.add(new Shape());
            int l = Color.getRGBValue(s);
            l = Color.getReducedColor(l);
            color = (Color)_fld0109.add(new Color());
            color.setRgb(l);
            LineStyle linestyle1 = (LineStyle)_fld0109.add(new LineStyle());
            linestyle1.setWidth(k > 20 ? 25 : 20);
            linestyle1.setColor(color);
            shape1.setLineStyle(linestyle1);
            int i1 = rect.getXMin();
            int j1 = rect.getYMin();
            int k1 = rect.getXMax();
            int l1 = rect.getYMax();
            int i2 = k;
            i1 += 15;
            k1 -= 15;
            j1 += 15;
            l1 -= 15;
            float f = k1 - i1;
            float f1 = l1 - j1;
            int j2 = k >> 1;
            shape.moveTo(i1, l1);
            shape.lineTo(k1, l1);
            shape.lineTo(k1, j1);
            shape1.moveTo(k1, j1);
            shape1.lineTo(i1, j1);
            shape1.lineTo(i1, l1);
            int k2 = (int)(f / (float)j);
            int l2 = (int)(f1 / (float)i);
            int i3 = i1;
            for(int k3 = 0; k3 < j; k3++)
            {
                int l3 = j1;
                int j4 = k3 != 0 ? i3 + j2 : i3 + 2 * j2;
                int l4 = k3 != j - 1 ? (i3 + k2) - j2 : (i3 + k2) - 2 * j2;
                for(int j5 = 0; j5 < i; j5++)
                {
                    int l5 = j5 != 0 ? l3 + j2 : l3 + 2 * j2;
                    int j6 = j5 != i - 1 ? (l3 + l2) - j2 : (l3 + l2) - 2 * j2;
                    shape.moveTo(j4, l5);
                    shape.lineTo(j4, j6);
                    shape1.moveTo(l4, l5);
                    shape1.lineTo(l4, j6);
                    l3 += l2;
                }

                i3 += k2;
            }

            int i4 = j1;
            for(int k4 = 0; k4 < i; k4++)
            {
                int j3 = i1;
                int i5 = k4 != 0 ? i4 + j2 : i4 + 2 * j2;
                int k5 = k4 != i - 1 ? (i4 + l2) - j2 : (i4 + l2) - 2 * j2;
                for(int i6 = 0; i6 < j; i6++)
                {
                    int k6 = i6 != 0 ? j3 + j2 : j3 + 2 * j2;
                    int l6 = i6 != j - 1 ? (j3 + k2) - j2 : (j3 + k2) - 2 * j2;
                    shape.moveTo(k6, i5);
                    shape.lineTo(l6, i5);
                    shape1.moveTo(k6, k5);
                    shape1.lineTo(l6, k5);
                    j3 += k2;
                }

                i4 += l2;
            }

            shape.append(shape1);
        }
        catch(GeneratorApiException _ex)
        {
            shape = null;
        }
        return shape;
    }

    private int _mth0164(String s, int i)
    {
        return _mth0161(_mth0166(s), i);
    }

    private Shape _mth0165(Rect rect)
    {
        Shape shape = null;
        try
        {
            FillStyle fillstyle = (FillStyle)_fld0109.add(new FillStyle());
            FillStyle fillstyle1 = (FillStyle)_fld0109.add(new FillStyle());
            Color color = (Color)_fld0109.add(new Color());
            color.setRgb(0xffffff);
            fillstyle1.setColor(color);
            LineStyle linestyle = (LineStyle)_fld0109.add(new LineStyle());
            linestyle.setWidth(1);
            linestyle.setColor(color);
            shape = (Shape)_fld0109.add(new Shape());
            shape.setFillStyle(fillstyle1, fillstyle);
            shape.setLineStyle(linestyle);
            shape.moveTo(rect.getXMin(), rect.getYMin());
            shape.lineTo(rect.getXMax(), rect.getYMin());
            shape.lineTo(rect.getXMax(), rect.getYMax());
            shape.lineTo(rect.getXMin(), rect.getYMax());
            shape.lineTo(rect.getXMin(), rect.getYMin());
        }
        catch(GeneratorApiException _ex)
        {
            shape = null;
        }
        return shape;
    }

    private String _mth0166(String s)
    {
        return _fld0144.apply(_fld0145.getProperty(s, ""));
    }

    private void _mth0167(PropertyParser propertyparser, String s)
    {
        _fld0162 = 1;
        _fld0163 = 1.0F;
        if(propertyparser.HasParam(s))
            if(propertyparser.ParamEquals(s, "auto"))
            {
                _fld0162 = 1;
                _fld0163 = 1.0F;
            } else
            if(propertyparser.ParamEquals(s, "fixed"))
            {
                _fld0162 = 2;
                _fld0163 = 1.0F;
            } else
            if(propertyparser.ParamEquals(s, "double"))
            {
                _fld0162 = 3;
                _fld0163 = 2.0F;
            } else
            if(propertyparser.ParamEquals(s, "half"))
            {
                _fld0162 = 3;
                _fld0163 = 0.5F;
            } else
            {
                _fld0163 = propertyparser.GetFloatParam(s, 1.0F);
                _fld0162 = 3;
                if(!propertyparser.Suceeded() && propertyparser.HasParam(s))
                {
                    logError(propertyparser.GetEnvironment(), "scaleParamErr", propertyparser.GetStringParam(s));
                    _fld0162 = 1;
                }
            }
    }

    private String[] _mth0168(String s)
    {
        Tokenizer tokenizer = new Tokenizer(s);
        int i = 0;
        for(String s1 = tokenizer.nextToken(); s1 != null; s1 = tokenizer.nextToken())
            i++;

        tokenizer.reset();
        String as[] = new String[i];
        for(int j = 0; j < i; j++)
            as[j] = tokenizer.nextToken();

        return as;
    }

    GenVector _fld0109;
    Context _fld0144;
    Properties _fld0145;
    String _fld0113[][];
    FlashEnvironment _fld0160;
    Script _fld0161;
    private int _fld0162;
    private float _fld0163;
    private int _fld0164;
    private float _fld0165;
}