Category Archives: Adobe Flash, as3

Flash is dead -> move to haxe

Heard somewhere that Adobe is dropping support\development of flash player(swf) by 2020. So I’m moving to haxe and unity3d, sloooowly)) Currently busy with haxe+openfl

Posted in Adobe Flash, as3, Game development | Comments Off on Flash is dead -> move to haxe

as3 error 1180: call to a possibly undefined method

I met this error several time, and it was pretty hard to fix, cause I didn’t know why this error was raised at all. The reason was this: I used a local var name identical to some namespace name. Let’s say … Continue reading

Posted in Adobe Flash, as3, Coding faults collection | Comments Off on as3 error 1180: call to a possibly undefined method

Tiny tip for NaN use

Use case: //you have a number in text format and you want to convert it to number format //and also to make sure there is no character inside var nTemp:Number = Number(someStringWithCharactersInsideProbably); if (isNan(nTemp)) { //aha.. there are some characters … Continue reading

Posted in Adobe Flash, as3, Coding faults collection | Comments Off on Tiny tip for NaN use

box2das3 memory leak

Here’s a cool blog post that will help you fix the problem. I already applied that patch and it works great!) http://devizgl.blogspot.ru/2012/03/box2d21a.html?showComment=1382229959077#c8118445927107725985 It contains some modifications you have to apply to your box2d(2.1a). This patch fixes a bug with contacts pull … Continue reading

Posted in Adobe Flash, as3 | Comments Off on box2das3 memory leak

FGDcup #5 over

This FGD(fast game development) Cup’s dev topic was “alternative endings”. Participants had to complete their flash/unity/.. games within 7 days. See my game in its very early DEMO state on FGL: https://www.fgl.com/view_game.php?from=dev&game_id=29806 It is called “Wake me up” Walkthrough (its … Continue reading

Posted in Adobe Flash, as3, Game development, News: my games | Comments Off on FGDcup #5 over

“Include Hidden Layers” in flash drove me insane several times

When you sell a sitelock of your game to some game portal, it usually gives you branding files and its custom loader in a .fla file. I had met same simple, yet confusing problem for several times. Here’s what it … Continue reading

Posted in Adobe Flash, as3, Coding faults collection | Tagged | Comments Off on “Include Hidden Layers” in flash drove me insane several times

MyFaults: Document class not working, as3

Well, I should have omited the “.as” extension when setting the document class Spent half an hour)) http://www.adobe.com/devnet/flash/quickstart/external_files_as3.html

Posted in Adobe Flash, as3, Coding faults collection | Comments Off on MyFaults: Document class not working, as3