Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An open source flash player implementation
C++ C ActionScript CMake Shell Assembly Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
debian
plugin
COPYING
Makefile
README
TODO
abc.cpp
abc.h
abc_codesynt.cpp
abc_interpreter.cpp
abc_opcodes.cpp
actions.cpp
actions.h
asobjects.cpp
asobjects.h
class.h
compat.cpp
compat.h
flashdisplay.cpp
flashdisplay.h
flashevents.cpp
flashevents.h
flashexternal.cpp
flashexternal.h
flashgeom.cpp
flashgeom.h
flashnet.cpp
flashnet.h
flashsystem.cpp
flashsystem.h
flashtext.cpp
flashtext.h
flashutils.cpp
flashutils.h
frame.cpp
frame.h
geometry.cpp
geometry.h
input.cpp
input.h
lightspark.frag
lightspark.sln
lightspark.vcproj
logger.cpp
logger.h
main.cpp
packed_begin.h
packed_end.h
streams.cpp
streams.h
swf.cpp
swf.h
swftypes.cpp
swftypes.h
tags.cpp
tags.h
tags_stub.cpp
test.sh
test2.mxml
tests.knowfailures
textfile.cpp
textfile.h
thread_pool.cpp
thread_pool.h
tightspark.cpp
vm.cpp
vm.h

README

Lightspark second Technical demo README

First of all I'd like to thank you for testing the lightspark project,
the current status is quite primitive, but I'd like to showcase the technology of this project

Be aware that the following feature are not yet supported or stable enough to be include in the demo

-) Sound support
-) Input support
-) Antialiasing

This demo already includes a lot of cool features

-) GLSL based rendering of fill styles (eg. gradients)
-) LLVM based ActionScript execution. Code is compiled just in time
-) A few tricks are also played to decrease the stack traffic tipical of stack machines.
-) First, although simple, framerate timing
-) Framework to handle ActionScript asynchronous events.


INSTALLATION:
To compile this software you need to install development packages for llvm-2.6, sdl and opengl.
To build the software please follow those steps.

1) cd lightspark
2) make

EXECUTION:
This demo aims at rendering a simple SWF file generated from the mxml source test2.mxml in this directory.
You can generate test2.swf to test2.mxml using the mxmlc compiler included in the flex sdk. For your
convenience you can download the compiled demo from

http://allievi.sssup.it/tatiana/test2.swf

You can execute the file using the standalone player

./lightspark test2.swf

Be aware that this will generate a massive amount of debugging messages. Press 'Q' on Lightspark window to
close the application
Something went wrong with that request. Please try again.