1 person found this helpful
In Flex Builder main menu:
Project - Properties - Flex Compiler - Additional compiler arguments
If this post answered your question or helped, please mark it as such.
Previously i too faced the Same Problem when working With Php as the Backend, The problem is Flex is unable to Call your PHP page
This is the way how i solved it out Export Your Flex Project To Flex Release Build.
Right click on the Project Export---------->Flex Project--------->Release Build-----------> Copy all the Files to your Server where all your PHP files are and then call the application from the browser
You need to add a crossdomain.xml file at the root directory of your php server.
See the piece of information copied from the flex documentation:
To make a data service or asset available to SWF files in different domains or on different computers, use a crossdomain policy file on the server that hosts the data service or asset.
A crossdomain policy file is an XML file that provides a way for the server to indicate that its data services and assets are available to SWF files served from certain domains, or from all domains.
Any SWF file that is served from a domain specified by the server's policy file is permitted to access a data service or asset from that server.
By default, place the crossdomain.xml at the root directory of the server that is serving the data.
The web page is running now.
Thank you for your help.