[as3] resolve dynamic access on "map" and "filter" at runtime so we can deal with arrays (closes #2889)