[flash] add WeakMap.unit.hx (see #3064)