Hi Jitesh, It seems that you are trying to know what is happening in an *existing* Flex application that was developed by somebody else. Is that correct ? Do you have access to the source code (.mxml or .as file(s)) of that application ?
If you don't, the HTML code will not help much you since the compiled SWF appears as kind of 'black box' from the browser's point of view. It is possible that the button event listener is defined in the html page (as a js function) but this is not the most common scenario, by far ! Nicolas Granon > -----Message d'origine----- > De : Jitesh Sinha [mailto:jites...@yahoo.com.INVALID] > Envoyé : samedi 21 octobre 2017 11:09 > À : users@flex.apache.org > Objet : How to find code behind a button in Flex UI > > Hi, > > I am new to Flex. I have worked in Java/J2EE env wherein it is easy to > find the source code behind a button by looking at the HTML source > code. > > How can you do the same thing in Flex? I don't have any knowledge of > the application so don't know where to look. I am hoping I can find the > "handler" or "action" of button from UI and then see what code is > executed on click of that button. I know that Flex UI is rendered by > SWF file which is a compiled product. But there should be some way to > do it - otherwise it will be mighty difficult to troubleshoot issues in > Flex UI. > > Can someone please help? > > Thanks!