Flex uses the development tools Flexbuiler 3,web server uses Apache.
1 install IE corresponding Flashplayer Debug version number for the first time, download Flash player 11.8 installation,:
Http://download.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_ax_debug.exe
Create a new web type of Flex Project first
Edit Project's Test.mxml file, the interface has only one button. Click button to verify that obj1 and obj2 are equal.
The code is as follows:
<?xml version= "1.0" encoding= "Utf-8"? ><mx:application xmlns:mx= "Http://www.adobe.com/2006/mxml" layout= " Horizontal "><mx:script><! [cdata[Public Function TestFunction (): Void{var obj1:string = new String ("1"), var obj2:string = new String ("1"); Trace (obj 1==OBJ2);}]] ></mx:script><mx:hbox height= "100%" verticalalign= "Middle" ><mx:button label= " test" id= " Testbutton "click=" TestFunction () "/></mx:hbox></mx:application>
Edit a simple test.html. Put the test.swf on the page.
Put the above two files into Apache's Web folder under test. For example: http://10.43.104.211:2323/test/test.html
Enter the debug settings interface of the Flexbuilder. Run-debug-other, for example, the following settings, URL or path to launch a few columns to fill the remote URL address:
After setting up, click Debug, you will be actively pop up a browser page. The console page of Flexbuilder shows that debug debugging is in progress
Set breakpoints in Flexbuilder. Then click on the Test button on the IE page:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvdgpqenm=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvdgpqenm=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">
DoneCopyright notice: This article blog original article. Blogs, without consent, may not be reproduced.
Flexbuilder Remote debugging Web App