Flex 3 introduces some important new controls to Flex. Some of these, like the Advanced Data Grid, will be of real interest to us ColdFusion developers. But, if you run the project wizard in Flex Builder 3 Beta 3, and select ColdFusion as the server technology and check the option to use Flash Remoting, you may find that Flex 3 controls are not available to you. Why? Because when the wizard sets up the project, it may point to an older version of the SDK, the one that ColdFusion is aware of.
The solution? Either of these two options should work:
- Run the wizard, select ColdFusion as the server technology, but don’t check the option to use remote object access service. Then, open the project properties dialog, go to the Flex Compiler page, and add compiler flag: -services “C:ColdFusion8wwwrootWEB-INFflexservices-config.xml” (obviously changing the path as appropriate). This flag is what gets set by the wizard when you opt to use Flash Remoting.
- Run the wizard as you usually do. Then, open the project properties dialog, go to the Flex Compiler page, and change the Flex SDK version to use the Flex 3 SDK. (Although, I think the prior option is the safer one).
Leave a Reply