Des billets et experimentations Haxe, NME, openFL, Flash, HTML5 et mobiles

Qu'est ce que Haxe ?

20.08.2012 3119 3

Pour tous ceux qui se demandent encore ce qu'est Haxe, voici une introduction succincte à cet O.V.N.I autant décrié que méconnu !

Lire la suite

« using » en Haxe

24.05.2009 4094 2

Dans la version 2.04 de Haxe, qui devrait pointer son nez d'ici peu, un nouveau mot clé apparaîtra : using
Ce mot-clé est différent des autres langages comme le C++ ou C# par exemple. C'est un raccourci du compilateur pour cibler des méthodes statiques comme des méthodes d'instance...Un petit truc pour le confort du développeur
Voyons voir ce que ça veut dire tout ce bordel...

Lire la suite

Haxe completion for Flash Develop 3

30.03.2009 7515 9

Flash develop 3 supports Haxe projects now.As many IDEs, FD3 has his own completion system that helps you writing code in a specified language, and for now it's Haxe language case too.
Here comes a patch for FD3 that allows Haxe compiler's built-in completion.
Let's see how install it and how it works.

Lire la suite

FEffects 1.1.1

25.02.2009 6920 0

I've changed a little bit the FEffects Tween class so you can use now, the short syntax that allows working directly on an object's property and you can set the easing function in the constructor.
Some new methods like : pause(), resume(), seek( n : Int ) and reverse() are added, and the following getters : position, duration, isPlaying and reversed.
The main loop function is inlined now too.

Original post is here
You can also see this post about sharing code between different plateforms (FEffects do that ).

Lire la suite

Flash desktop applications using Haxe & SWHX

09.11.2008 19101 10

In March, I had a proposition to write an article on Haxe for a magazine called "Flash&Flex Developer's Magazine". It is a quarterly publication distributed in English language in the USA.
It was much work for me, because Haxe is a vast subject and it was very difficult to choice what talking about !
Finally, I've written a desktop application, and then I decided to tittle the article :"Flash Desktop applications using Haxe & SWHX"
The application is an Icon-Dock (a la Object-Dock, YZDock...) entirelly build with Haxe.
Since I can't publish the article (13 pages effective of pure eye's pleasure :D ) on my blog, until the magazine is in stores, here is the source code of the dock called "FDock"...of course ;).

Lire la suite

Haxe articles updated for Haxe 2.0

02.11.2008 3123 0

Some monthes ago, I released 2 articles for The Flash&Flex Developper's magazine.
Since Haxe 2.0, some changes occured, so here comes new versions of the FDock application described in the first number and XiLib example for the 2nd.

Lire la suite


28.08.2008 5464 3

Here is a light slide show flash movie, written in Haxe of course and targeting Flash Player 9.
I haven't any good picture to display, so I asked some friends of mine, to give me some of their lost pixels. Thanks guys
Click on the picture you like, to see the author's blog.

Lire la suite

hxDeploy : Haxe project template

25.08.2008 3631 2

When I used to work with the Flash IDE, it was easy to test a piece of actionscript code, in an empty flash project. It was build somewhere in a temporary folder, and I never cared about that.
Since I don't use the the Flash IDE anymore, and in order to do quickly a test, I have to open my favourite editor, create a project, create the folders, files...A boring work...
And at the end what you get is an "experiments" folder, where there is a million of subfolders begining by "test"...
I've written something to deploy quickly a Haxe project. It's nothing exciting but it can help.

Lire la suite

hjs : Writing hScript in <script> HTML tag

09.08.2008 3737 1

You can't sleep since hScript is released ?! You want write hScript everywhere and even your last greeting card was written in hScript?!
Nothing special here...
I've tried to write some hScript directly inside a <script> tag in the HTML document, as we can use javascript or vbscript and else ...
Take a look at that, it's just funny .

Lire la suite

Haxe 2.0 RC1

04.08.2008 2569 1

The new Haxe verison is available !

Lire la suite