Skip to main content
Known Participant
Oct 22, 2009 11:34 PM UTC
Question

What does FlexUnitCompilerApplication.mxml do?

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>

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Participating Frequently
Oct 23, 2009 1:48 PM UTC

It is just there way of ensuring that WidgetTest is linked into the SWF they execute.

Mike

Translate