Package macromedia.asc.embedding.avmplus

Examples of macromedia.asc.embedding.avmplus.InstanceBuilder


            String name = "void";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._voidType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_void);
            statics._voidType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._voidType);
            statics._voidType.prototype.setValue("undefined");
            statics.builtins.put(name, statics._voidType);
        }
        return statics._voidType;
    }
View Full Code Here


            String name = "Null";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._nullType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_null);
            statics._nullType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._nullType);
            statics._nullType.prototype.setValue("null");
            statics.builtins.put(name, statics._nullType);
        }
        return statics._nullType;
    }
View Full Code Here

            String name = "Boolean";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._booleanType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_boolean);
            statics._booleanType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._booleanType);
            statics.builtins.put(name, statics._booleanType);
        }
        return statics._booleanType;
    }
View Full Code Here

            String name = "String";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._stringType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_string);
            statics._stringType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._stringType);
            statics.builtins.put(name, statics._stringType);
        }
        return statics._stringType;
    }
View Full Code Here

            String name = "Class";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._typeType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_type);
            statics._typeType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._typeType);
            statics.builtins.put(name, statics._typeType);
        }
        return statics._typeType;
    }
View Full Code Here

            String name = "Function";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._functionType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_function);
            statics._functionType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._functionType);
            statics.builtins.put(name, statics._functionType);
        }
        return statics._functionType;
    }
View Full Code Here

            String name = "int";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._intType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_int);
            statics._intType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._intType);
            statics.builtins.put(name, statics._intType);
        }
        return statics._intType;
    }
View Full Code Here

            String name = "uint";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._uintType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_uint);
            statics._uintType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._uintType);
            statics.builtins.put(name, statics._uintType);
        }
        return statics._uintType;
    }
View Full Code Here

            String name = "Number";
            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._numberType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_double);
            statics._numberType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._numberType);
            statics.builtins.put(name, statics._numberType);
        }
        return statics._numberType;
    }
View Full Code Here

            QName qname = new QName(publicNamespace(), name);
            ObjectValue protected_namespace = getNamespace(qname.toString(), NS_PROTECTED);
            ObjectValue static_protected_namespace = getNamespace(qname.toString(), NS_STATIC_PROTECTED);
            statics._doubleType = new TypeValue(this, new ClassBuilder(qname,protected_namespace,static_protected_namespace), qname, TYPE_double);
            statics._doubleType.baseclass = objectType(); // since this is not in older Global.abc
            statics._doubleType.prototype = new ObjectValue(this, new InstanceBuilder(qname), statics._doubleType);
            statics.builtins.put(name, statics._doubleType);
        }
        return statics._doubleType;
    }
View Full Code Here

TOP

Related Classes of macromedia.asc.embedding.avmplus.InstanceBuilder

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.