1 Reply Latest reply on Aug 20, 2009 11:50 AM by josh_on

    How can I make an ant file that launches an AS project app in a debug flash player that traces to the flex console?

    josh_on Level 1

      How can I make an ant file that launches an AS project app in a debug flash player that traces to the flex console?

      Basically I like the control over the compiling process that I get by using Ant - but I really want traces to come up immediately without having to switch contexts.


      I have an ant file that successfully launches a swf in the flashplayer - but I don't know how to make the flex console start displaying the trace output. I assume that I will have to point it to the appropriate trace output file - but I am not sure how to have ant even address the console.  Is this possible?

      Here is the the target node from my ANT file:

       

          <target name="launch">

              <exec executable="${FLASHPLAYER_EXE}" errorproperty="trace.output">
                  <arg line="'${DEPLOY_DIR}\test.swf'" />
              </exec>
          </target>

       

      Thanks for any thoughts, or alternatives!