Copy link to clipboard
Copied
FlexUnitCompilerApplication.mxml is generated by Flash Builder Beta 2, not sure why. It contains this code, which declares a variable but doesn't do anything else:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768">
<fx:Script>
<![CDATA[
import mainstreet.WidgetTest;
private var mainstreet_WidgetTest_obj:mainstreet.WidgetTest;
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</s:Application>
Copy link to clipboard
Copied
It is just there way of ensuring that WidgetTest is linked into the SWF they execute.
Mike
Find more inspiration, events, and resources on the new Adobe Community
Explore Now