0 Replies Latest reply on Apr 13, 2012 1:14 AM by 9roove04

    How to trace to output console?

    9roove04

      I use

           - window 7 (64bit)

           - Flash builder 4.6

           - Ant

           - flash debugger player10

       

      I complied with mxmlc and ant. Then i excuted swf.

      But trace() didn't work.

       

      Any idea what to do?

      Thanks

       

       

      [ant tag]

       

      <target name="SimpleTest_compile">

        <mxmlc file="${test.dir}/objProxy_Test.as" output="${web.dir}/SimpleTest.swf">

         <debug>true</debug>

         <incremental>false</incremental>

         <default-size width="300" height="300" />

         <default-frame-rate>60</default-frame-rate>

         <actionscript-file-encoding>UTF-8</actionscript-file-encoding>

         <default-background-color>0xFFFFFF</default-background-color>

         <load-config filename="${flex4sdk.home.dir}/frameworks/flex-config.xml" />

         <static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>

         <source-path path-element="${src.dir}" />

         <source-path path-element="${test.dir}" />

         <compiler.include-libraries dir="${basedir}/web/" append="true">

           <include name="Testt.swc" />

         </compiler.include-libraries>

        </mxmlc>

      </target>

       

      <target name="SimpleTest_run">

        <exec executable="${flashDebugPlayer.exe}">

         <arg line="${web.dir}/SimpleTest.swf" />

        </exec>

      </target>