Re: How do I debug actionscript in ming?

Axel Huizinga <[email protected]> Mon, 05 Jan 2004 07:51:29 +0100
Newsgroups gmane.comp.web.ming.general
Message-ID <[email protected]>
David Marceau wrote:

>I just discovered you can enable the debugging in your browser player:
>http://skaiste.elekta.lt/Books/O'Reilly/Bookshelfs/books/webdesign/action/ch19_01.htm
>
>To export a movie with in-browser debugging permitted, select File  Publish
>Settings  Flash  Debugging Permitted, then
>optionally provide a password to prevent prying eyes from snooping around your
>code. To install a debugging Player in your browser,
>use the installers provided in the /Players/Debug / folder where you installed
>Flash on your hard drive. To enable debugging while
>viewing a movie, right-click in Windows (Ctrl-click on Macintosh) on the movie
>and select Debugger.
>
>Is there such a debugger player in linux?
>
Don't know but for debugging in linux you can use mozilla
and javascript:

function debug(m){
    dump(m +'\\n');
}

and in actionscript i use:
function debug(m){
    _root.getURL('javascript:debug(\"'+m+'\")');
}

Cordially,
Axel

>_______________________________________________
>ming-fun mailing list
>[email protected]
>http://www.opaque.net/mailman/listinfo/ming-fun
>
>  
>