Dynamicaly loading swf files and access classes

Episode # 12  time -

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.


Large_screen_shot_2011-12-18_at_16.13.56

Overwrite the trace function so messages is displayed in another window

Episode # 11  time - 6:32

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.


Large_thumb

Building a multitrack audio engine

Episode # 10  time - 10:31

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.


Large_images

Fit and resize a swf file to the browser window size

Episode # 9  time - 5:41

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.


Large_screen_shot_2011-11-12_at_12.43.50

MVC Design pattern. Interfaces and Abstract classes

Episode # 8  time - 10:01

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


Large_episode-007

Event dispatchers and custom Events

Episode # 7  time - 7:00

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.


Large_screen_shot_2011-10-02_at_18.09.32

Building a dial with the MouseHandler and the MultiStateImage

Episode # 6  time - 11:01

Buildein a dial/knob using the MultiStateImage and the MouseHandler form episode #4 and #5


Large_episode-005

Adding a mask to an image

Episode # 5  time - 8:05

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.


Large_screen_shot_2011-09-19_at_01.31.02

Mouse Handling

Episode # 4  time - 8:30

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


Large_xml_file

Reading parameters from SWFObject and loading images from disk using xml

Episode # 3  time - 12:49

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


Large_episode-002

Adding images to your HaXe project using SWFMILL

Episode # 2  time - 6:34

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


Large_screen_shot_2011-08-29_at_22.43.00

Getting Started Using TextMate on OS X

Episode # 1  time - 4:25

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