Category Archives: Adobe Flash, as3

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 | Leave a comment

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 | Leave a comment

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 | Leave a comment

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 | Leave a comment

“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 | Leave a comment

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 | Leave a comment

MouseEnabled “not working” in flash as3. Solved

Spent half the night fighting that issue, I wanted to disable mouse clicks for TextFields on my gui HUD panel. So that I could click units beneath those text fields. tf.mouseEnabled = false;//didnt work for me as well as tf_parent.mouseEnabled … Continue reading

Posted in Adobe Flash, as3, Coding faults collection, Game development | 4 Comments