Summary
In this chapter, we have seen how to embed and use assets. We have also seen how one may use Flash's events system.
Moreover, we have written a simple game that should help you understand how to get started with Flash game programming using haXe.
Specifically, we covered how to embed assets in a SWF file, how to use them, and how to handle events.
I hope this book has been a good introduction to haXe for you. You should now be able to write your own haXe applications and continue learning how to work with haXe.
This programming language is very powerful and lets you write code in several different ways.
Do not forget that haXe is driven by its community and that a lot of code is open source, letting you dive into it to learn how others are using haXe and how they write their own code.