Flex browser wait to execute