Thursday, January 20, 2011

Tween Runtime Errors with RSLs

If you decide to use Runtime Shared Libraries and get a missing Tween class RTE as your application is starting, you need to swap the order that the RTEs are loaded. What's happening is that the datavisualization.swc relies upon the framework.swc, but it loads before the framework.swc, causing the RTE.

The fix is simple. In the Flex Library path tab, move the datavisualization.swc below the framework.swc (see picture). This will load the framework before the datavisualization.

If you are compiling via the command line, make sure the datavisualization RSL entry in your flex-config.xml file is after the framework RSL entry.

No comments: