True one-file Haxe preloader using mxmlc

With combining the MochiAd sample as3+mxmlc preloader with a custom flash9 Haxe swf, I created nicely preloaded Haxe content. Furthermore, calling functions back and forth between the wrapper and content is also done. Continue reading for the details!

(Edit: Don't forget to check out our latest article Preloading with Haxe and SamHaxe on the topic!)

Read the full post

09.01.09. 11:40 - | nine comments - §

Tags:      

About

Flash game development using HaXe and pals.

Last Comments

Pieter Witvoet (True one-file Hax…): Recently I had to build a preloader for a haXe game I’ve been…
Cristi Baluta (Haxe & Google Fla…): for me the additional 98k added to the file is a disaster, i’…
ron (True one-file Hax…): This was due to referencing stage prematurely. Be sure to pos…
Mk12 (True one-file Hax…): It doesn’t work when I put my game in it gives a null pointer…
ron (Create swc from a…): Thanks for telling Jarad!

Archives

01 Nov - 30 Nov 2009
01 Oct - 31 Oct 2009
01 Sep - 30 Sep 2009
01 Jul - 31 Jul 2009
01 May - 31 May 2009
01 Apr - 30 Apr 2009
01 Mar - 31 Mar 2009
01 Feb - 28 Feb 2009
01 Jan - 31 Jan 2009
01 Dec - 31 Dec 2008
01 Nov - 30 Nov 2008
01 Oct - 31 Oct 2008
01 Sep - 30 Sep 2008
01 Aug - 31 Aug 2008
01 Sep - 30 Sep 2007

Calendar

« March 2010
S M T W T F S
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Linkdump

Execution speedup with fifo - §

Speed up the execution of programs that generate massive unwanted log-files by sending those logs to null through a fifo: mkfifo logfile
cat logfile > /dev/null &
./myprogram -log logfile

09.01.19. 14:09 | comment!

ImageMagick PNG background and auto-crop - §

Set background to white and auto-crop with ImageMagick: for i in `ls *png`; do convert -flatten $i x.png; convert -trim x.png out_$i; done

09.01.12. 17:15 | comment!

Last Referrers