InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Haxe tutorials

  • How to view flash debug log using Firefox on Mac
  • List of mobile app/game development tools
  • Review of Haxe nme for cross platform mobile games development
  • haxe openfl on mac - quick start guide for mobile development
 
  • Home
  • > Tutorials
  • > Flash

How to view flash debug log using Firefox on Mac

By admin on May 1, 2013

Adobe has a debug version of flash player which lets you view the flash log messages when you run a flash file in your browser like Firefox. It does not work in Google Chrome as Chrome comes with its own flash player.

Here are the steps to view flash logs using Firefox on Mac:

  1. First download Flash player plugin content debugger from flashplayer download page. Here is how the download link looks:
    mac-flash-player-plugin-content-debugger-download-link
  2. Install the downloaded player. You may have to close all browsers before that.
  3. Visit Flash version in your Firefox browser to see if debug version is installed.
    flash-version-debug-playerLook for the the string “Debug Player:  Yes”. If you find it that means you have installed the debug player correctly.
  4. Create a flash file which prints some log message. I have created a small flash file using this haxe code which prints log messages using trace. Clone the project and look at the README for instructions on how to generate flash using haxe nme. I’m embedding the flash swf file here.
    Assuming you are viewing this page in Firefox (with debug flash version), Click on anywhere in the small blue box. This will print log message using trace.
  5. The log can be viewed in file /Users/[userid]/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt
    Here is how log looks for few clicks:

    FlashLogTutorial.hx:39: Log:Clicked 1
    FlashLogTutorial.hx:39: Log:Clicked 2
    FlashLogTutorial.hx:39: Log:Clicked 3
  6. There are times when you have to debug flash code (generated from haxe in our case) in browser env. Debugging using flash log can be pretty useful in such cases.

 

Also note that once you install flash debug version, you may see more error messages than normal even for flash content on other sites. Since Google Chrome has its own flash player, it can be pretty handy to run a flash file in regular flash player. So you don’t have to go through install/uninstall cycles of flash debug/regular player.

Suggested posts:

  1. How to prevent ssh session freezing due to timeout
  2. view event handlers in Chrome
  3. Chrome extensions – how to enable developer mode
  4. Git – how to undo last commit
  5. How to use fitvids.js for automatically resizing videos
  6. How to extract number from a string – google sheets
  7. HTML form file upload hello world
  8. How to use phantomjs to create site/url snapshot thumbnail
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Flash, Haxe, Tutorials
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress