/// Construct a property of this object by Multiname lookup.
///
/// This corresponds directly to the AVM2 operation `constructprop`.
Construct a property of this object by Multiname lookup.
This corresponds directly to the AVM2 operation `constructprop`.
Construct a property of this object by Multiname lookup . This corresponds directly to the AVM2 operation ` constructprop ` .
fn construct_prop(
        self,
        multiname: &Multiname<'gc>,
        args: &[Value<'gc>],
        activation: &mut Activation<'_, 'gc, '_>,
    ) -> Result<Object<'gc>, Error> {
        let ctor = self
            .get_property(multiname, activation)?
            .coerce_to_object(activation)?;
        ctor.construct(activation, args)
    }
fn construct_prop ( self , multiname : & Multiname < ' gc > , args : & [ Value < ' gc > ] , activation : & mut Activation < ' _ , ' gc , ' _ > , ) -> Result < Object < ' gc > , Error > { let ctor = self . get_property ( multiname , activation ) ? . coerce_to_object ( activation ) ? ; ctor . construct ( activation , args ) }
Construct a property of this object by Multiname lookup.
Construct a property of this object by Multiname lookup .
self
multiname
&Multiname<'gc>
args
&[Value<'gc>]
activation
&mut Activation<'_, 'gc, '_>