Featurelayer is not behaving as expected in release build when applying a DefinitionExpression and using either MODE_ON_DEMAND or MODE_SNAPSHOT.
FlashBuilder 4:
- Works properly in debug build
- Does not work in release build
The featurelayer:
mode = MODE_ON_DEMAND // MODE_SNAPSHOT - neither update when map scale changes
contains points. On demand should reapply definition at new extent. Snapshot should have fetch all features for the layer.
The workflow:
Map is zoomed to a county boundary. A definition query is applied to the featurelayer based on some criteria. Features in visible extent are correctly returned and rendered.
Zoom in or out 1 or more levels and featurelayer DOES NOT refetch features or properly scale itself. The layer just never updates. It does pan correctly though.
See screenshots attached.