I recently had the opportunity to help troubleshoot a Composite Application Framework issue. A member of our community worked through the Create a composite application module of the Create Your First ADEP Experience Server Application tutorial.
Problem: The Flex tile did not populate (it was blank), although the HTML tile appeared fine.
Solution: Use Flex SDK 4.5. Do not use version 4.5.1
Note: This problem/solution applies to ADEP 10.0.0.0. I don’t know what version of the SDK that future ADEP/CAF releases will support out-of-the-box.
If you used Flex SDK 4.5.1 by mistake, here is how to configure the project and tile to use Flex SDK 4.5.0:
- In Flash Builder, right-click the Flex project for ADEP and click Properties.
- In the properties tree, select Flex Compiler.
- At the top of the Flex Compiler panel, set the SDK version to Flex 4.5.
- Click OK and when the scary message about overwriting the html-template pops up, click OK.
- Open the catalog file (.cxml).
- Locate the tile:TileClass element for your tile and in the tile:Content child element, change the value of the flexSDKVersion attribute to 4.5.0.
<tile:TileClass fitContent="true" height="300" label="WatchedFunds" name="WatchedFunds" width="600"> <ct:Metadata> <ct:Description/> </ct:Metadata> <tile:Content contentType="application/x-shockwave-flash" flexSDKVersion="4.5.0" loadAs="module" uri="${catalogURL}/tiles/WatchedFunds/WatchedFunds.swf"/> </tile:TileClass> - Save the file.
Scott (Brodersen)
