Flex Issues
Flex controls show up as _object or _embed
Section titled “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
If you do NOT see this log, it means that your Flex app has not been compiled with Sahi’s sfl.swc.

