@echo off
REM Rebuild and run under flashplayer debugger.
REM
REM BEFOREHAND create ~/mm.cfg (%HOME\%HOMEPATH%\mm.cfg) containing:
REM    ErrorReportingEnable=1
REM    TraceOutputFileEnable=1
REM    MaxWarnings=0
REM
REM Create "flashlog" desktop shortcut to view trace() output:
REM <RIGHT>-click Command Prompt icon
REM   Send To | Desktop (create shortcut)
REM <RIGHT>click new icon | Reanme to "flashlog"
REM <RIGHT>click new icon | Properties | Shortcut
REM   Shortcut | Target:
REM     %SystemRoot%\system32\cmd.exe /C tail -n 500 -F flashlog.txt
REM   Shortcut | Start in:
REM     "%HOMEDRIVE%\%HOMEPATH%\Application Data\Macromedia\Flash Player\Logs"
REM
set FLASHPLAYER="./blazeds/resources/flex_sdk/runtimes/player/win/FlashPlayer.exe"

call R:\dist\ant\bin\ant
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
%FLASHPLAYER% "http://localhost:8400/mp3dj/main.swf"
