Flexbuilder Remote debugging Web App

Source: Internet
Author: User

Flex's development tools are used by Flexbuiler 3,web server for Apache.

1 first to install the debug version of IE corresponding flashplayer, 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 the project's Test.mxml file, the interface has only one button, click the 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 and put the test.swf on the page


Put the above two files into the Apache web directory of test, for example: http://10.43.104.211:2323/test/test.html

Enter Flexbuilder Debug settings interface, Run-debug-other, make the following settings, URL or path to launch a few columns to fill the remote URL address:

After the setup is complete, click Debug, this will automatically pop up a browser page, Flexbuilder's console page shows that debug debugging is in progress

Click the Test button on the IE page:

Done

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.