Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Flash Player debugger
02-26-2011, 02:44 AM, (This post was last modified: 02-26-2011, 03:32 AM by RVC Video Chat.)
#1
Using Flash Player debugger
  • Uninstall Adobe Flash Player http://kb2.adobe.com/cps/141/tn_14157.html
    Adobe recommends that you restart your computer before you install a different version of the player.
  • Download & install Adobe Flash Player Debugger http://www.adobe.com/support/flashplayer/downloads.html
    Scroll down to Adobe Flash Player 10.2 — Debugger (or newer)
  • Optional but useful, download & install Flash Tracer (Firefox): http://www.sephiroth.it/firefox/flashtracer/
  • Create a file (if not created automatically) called mm.cfg with at least the following settings:
    Code:
    ErrorReportingEnable=1
    TraceOutputFileEnable=1
    MaxWarnings=50
    MAC: /Library/Application Support/Macromedia/mm.cfg
    WIN 7: C:\Users\[username]\mm.cfg
    LINUX: home/username/mm.cfg

    The logs (flashlog.txt) will be located here:

    MAC: /Users/[username]/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt
    WIN 7: C:\Users\[username]\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
    LINUX: home/[username]/Macromedia/Flash_Player/Logs/flashlog.tx

Testing if flash debugger is installed:
  • Right click on any Flash movie and you should see "Debugger" (disabled)
  • Using this code:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- http://blog.flexexamples.com/2007/08/26/debugging-flex-applications-with-mmcfg-and-flashlogtxt/ -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
            layout="vertical"
            verticalAlign="middle"
            backgroundColor="white">
        
        <mx:Script>
            <![CDATA[
                import flash.system.Capabilities;
            ]]>
        </mx:Script>
        
        <mx:String id="versionLabel">
            <![CDATA[<b>version</b>]]>
        </mx:String>
        
        <mx:String id="isDebuggerLabel">
            <![CDATA[<b>isDebugger</b>]]>
        </mx:String>
        
        <mx:String id="br">
            <![CDATA[<br />]]>
        </mx:String>
        
        <mx:Text fontSize="16" condenseWhite="true">
            <mx:htmlText>
                {versionLabel} = {Capabilities.version}{br}
                {isDebuggerLabel} = {Capabilities.isDebugger}{br}
            </mx:htmlText>
        </mx:Text>
        
    </mx:Application>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)