Flex Issues

Flex controls show up as _object or _embed

symptom When we hover the mouse over a Flex control, the Controller identifies the entire Flex component as an _object or _embed element.
cause The Flex control (swf) has not been compiled with the correct version of sfl.swc.
resolution Sahi can automate a Flex application only if the Flex app is compiled with the correct version of sfl.swc. The sfl.swc files are available in the sfl directory.

For example, if your Flex app uses Flex4.5, you should compile your Flex app with sfl45.swc.

When you access your Flex app through a Sahi browser, you should see the following log in the Sahi server console.

Fetching sfl swf: /_s_/spr/sfl45.swf

info NOTE that if you used a different version of sfl.swc, you should see that version in the log.
If you do NOT see this log, it means that your Flex app has not been compiled with Sahi's sfl.swc.