If you are working with big projects and want to load them fast in the users browser you may want to break them down to manageable size .swf files and load them dynamically.
When I'm test haxe applications I like to trace parameters and messages to see what's going on,
In case the application window is really small or the background is dark it can be hard if not impossible to se what's going on
To solve this problem i build a little haxe console application I can deploy together with the application I want to trace.
I have been involved building a lot of software synthesizers and a two digital audio workstations over the years,
what i always needed was a way to manipulate a stream of samples.
In this episode I will show you how to open an audio stream and add four stereo tracks to it.
I have made this episode as simple as possible so what is important don't drown in an overwhelming amount of informations.
Sometime you want your .swf file to fit in the entire browser window so when the user resizes the window the embedded .swf file also resizes
This is real simple to do within your haXe code but a little more tricky in the html part and involves the usage of javascript.
The purpose of the MVC pattern is to make the code robust by separate the data, logic, and user interface.
By decoupling these tree elements you can easily model you application without breaking it
the bigger a project is the more important is it it's build on a sound foundation
so taking you time and get it right from the beginning you will spare a lot of headache and time in the other end.
Another technique I will show here is interfaces
if you are building a rich interface with many controls and views.
if your application uses many dynamically allocated classes
or if you want to secure the ability to extend and modify your enterprise application in the future!
This is where Event Dispatchers becomes handy.
Buildein a dial/knob using the MultiStateImage and the MouseHandler form episode #4 and #5
If you have a graphic element that can show itself on the screen in multiply variations,
you don't have to create an image for each variation, instead you can create one image and only show a part of it.
Handling the mouse in flash applications can be a bit tricky, in this episode I will show how to receive basic mouse events and get arround the pitfalls
This episode shows you how to detach your image files form the swf file. This can be use full for communication with an CMS system and alows you to reuse the swf file in many different places and with different content
In this episode I will show you how to setup your development environment on OS X so you can use swfmill to compile image resources for you HaXe projects, if you are running windows it should work as well
Setting up your development environment, on a Macintosh computer, Adding the haxe2_bundle to TextMate for syntax highlightning, downloading and compiling the demo project from github