To tell if a SWF was built using the Flex Framework, you can try this site:
I believe it is, in essence, a decompiler that looks at how the itnernals are implemented.
But, really why does it matter? When I see static HTML page, how can I tell if it was made in Dreamweaver, HomeSite, Notepad, or Visual Studio? I can't in most cases.