Quick check, does anyone have objections to aligning the Proxy
deleteProperty method signature with swf?

It should be:
Returns
Boolean
<https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Boolean.html>
—
If the property was deleted, true; otherwise false.
At the moment it is :void in js and (as expected) returns Boolean as above
in swf.

I hit this in some porting code recently and I'd like to address it.
The change would simply be to do the following:

public function deleteProperty(propName:String):Boolean
{
   return delete valueMap[propName];
}

Which essentially makes it the same as swf (but in public namespace instead
of flash_proxy). It only needs a few small changes in the subclasses in
MXRoyale for JS to match.

Any issues with me making that change? (I don't expect there should be)

Reply via email to