-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
There are no installation packages yet, so you will need git. Clone the lightningbeam sources with
git clone git://github.com:skykooler/Lightningbeam.git
To run:
cd Lightningbeam
python lightningbeam (or C:\Python27\python.exe lightningbeam on Windows)
And that's it. However, you will probably want a bit more advanced functionality.
The most important thing is probably to be able to view trace() output. The regular Flash player from Adobe can't do this. On Linux, there are two options: Gnash or the Adobe Debug Player. On other platforms the Adobe player is the only option available (unless you want to build Gnash yourself - and note that the Adobe player supports more flash features).
Install Gnash. On many linux platforms the command to do this will be something along the lines of sudo apt-get install gnash or sudo yum install gnash. If not, head to the Gnash website and follow the instructions.
To run a swf file, open a terminal, cd to the location of it, and run gnash -v filename.swf. You should see the trace output printed in the terminal.
Download the Debugger for Linux, , Mac or Windows. If you're using Mac OSX, put the .app in /Applications. If you're using Windows or Linux - put the executable wherever, and edit lightningbeam to refer to it (change win_flash_player_loc or linux_flash_player_loc to point to the executable). You will also need to edit logloc because I haven't found out yet where it puts the logs. Once you've done that, you should be able to just hit 'Execute' in Lightningbeam and it will open a trace window showing the log.