8ball-media

little pieces from everything

How to send or receive JSON encoded data from flash to a server-side-script

As contributor in some flash-related forums i noticed, that a lot of people are asking the same question over and over again.

How to send or receive JSON-encoded data from flash to a server-side-script

In this little “tutorial” we’ll send an arbitrary JSON-encoded Object from flash to our server-script, alter the value of its property and send it; even JSON encoded; back from the server to flash.

Sending Mails Using Ant MailTask FDT/Eclipse

I always wanted to make use of the “Post compile ant file” from Eclipse. After hours of searching, trial and (mostly) error i finally got it working. The Ant-MailTask sends a mail from within Eclipse including attachment.

The downside is that i was unable to get this running with my default Ant installation (v.1.7.1) and had to install a newer version of Ant.

I dont want to bore you with details of my odyssey but show you how it gets done in more or less four steps.

How To Protect Your Game From Being Rebranded (AS2)

Eric Heimburg from FlashGameLicense.com wrote an article about How to protect your game from beeing rebranded for Actionscript3.

Because i’m developing flash-based-games here and there i found this article quite interesting. After reading this post i digged in my old experiments from the good old Actionscript2 times to get familiar again with the syntax. It’s been ‘a couple of days’ since i wrote my last lines of code in AS2. But following the idea of Eric the code is pretty much the same exept a few loops more.