pseudo-problem: js function undefined

well often you have an external js file you load and keep some functions in it; and eventually it can appear broken or missing some of the functions while you code your site, or they could work improperly.. My guess is that the js file just got cached and you load old version which is missing funcs or having old versions of them šŸ˜‰ In this case you could do it this way:

<script src=”/js/yourjsfile.js?604” type=”text/javascript”></script>

where 604 is just the number of your edit) so you edit js file and inc this by 1 for example so that client loads it anew..
Cheers, hope this helps someone, also let me know if there is something you can add, comment on this

Posted in Coding faults collection | Leave a comment

Crop tool in photoshop CC not working (solved “problem”)

Well if you drag some photos to your photoshop CC canvas, scale, rotate, position them as you need and select crop tool it could fail. Or better say perform no visible action, the outer parts of images remain where they were i.e. no cropping occurs. This could be because these layers are smart-objects (whatever it is) )) and have special icon on the layer list. The solution is to rasterize those layers before cropping. THat’s it, thanks, bye!)

Posted in Art & drawing | Leave a comment

Chrome cleanup-tool

Recently, my mom caught a browser hijack malware.. forcing its search-engine to get default in all browsers. The name(and related names) of it was this:Ā Smartbar, sonic-search, ReSoft, Websearch, snapdo.com

Well, in order to remove it use a tool created by Google, thanks to them, which is called:

Chrome cleanup-tool.Ā ItĀ cures (removes) this search-tool from all browsers: firefox, chrome…

https://www.google.com/chrome/cleanup-tool/

Posted in Personal | Tagged , , , , , | Leave a comment

Can’t sleep in the night?? draw some dumb stuff))

turok_mhehe

Imagine Turok with graphics such as I’v just made)) uber realistic special effects)

Posted in Art & drawing | Tagged | Leave a comment

Bought one more tablet. Wacom ctl-460

IMG_20150624_013123

This one is not too large, but is quick and responsive. It doesnt have an eraser on top of the pen, but since I only draw in adobe flash, I dont need it anyway)

Posted in Personal | Tagged | 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 inside
}

//and what I wanted to point out..
//This won’t work

/*
if (nTemp == NaN)
{
//aha
}
*/

Posted in Adobe Flash, as3, Coding faults collection | Leave a comment

Been doing a buisiness app mobile client + server

Not been doing games lately, alas but.. I’ve finsihedĀ a business app that I’ve been busy with for about 3 month or so. April, May, June.. Ā It’s a mobile client made in flash which a company’s personel uses on their mobile tablets.. and there’s a server part that accepts data sent from those clients and generates pdf reports and in turn sends them to customers and managers.. Ā Also mobile clients can update their internal data (images, constants, etc..) loading them from database.
so:

  • I bought an ios developer account
  • tried adobe air on tablets.. the app and some of my games on android and apple devices
  • learned php + mysql + mpdf (for server side pdf generation)

I earned some money and learned new stuff that I may need in future.

Now I’m getting back to games šŸ˜‰

Posted in Personal | Leave a comment