Flexbuilder Remote debugging Web App

Source: Internet
Author: User

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 ">

Done

Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.

Flexbuilder Remote debugging Web App

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.