Remove html tags from a string wtih PHP

posted in PHP on 2010-11-12   str tag remove str return str ius str return

Sometimes you don't need any formatting. That's just a nice way to remove all the html tags.

read more

How to import images directly into the html code (base64)

posted in PHP on 2010-11-11   base64 file html css small form data fp image
read more

101 начина как да вбесим дизайнера

posted in Fun on 2010-11-04   google

Интересни коментари събрани от Иво Илиев (оригинален текст):001. Чудесно! Точно така си го представях… само че малко по-различно.002. Вчера с комшията говорихме и ми даде страхотна идея. Виж ся как ше стане дизайна…003. Имам само една, две леки забележки. Имаш ли полвин час да ги изкоментираме?004. Добре е , но неможеш ли малко да го поразчупиш?005. Искам го 1:1 с това, но да е малко по-различно.

read more

Pattern fill with AS3 (repeat-x)

posted in ActionScript on 2010-11-04   graphics clip bd

Currently I'm working on an AIR application and in the header of it there is a nice gradient which has to be repeated by the x axis to fill the whole screen area. One way to do it is to use a really wide image, something like 2000px. The other way is to use a simple trick and repeat a small part with the gradient.

read more

Adobe AIR: how to make things upon closing the application

posted in ActionScript on 2010-11-03   application closing things

Sometimes we need to catch the closing of our AIR application to make some things like storing the window's position and size. We can do that in our code.

read more

Todor and Petru

posted in Inspiration on 2010-10-28  

Interesting clip, mix of animation and live action.

read more

checkPolicyFile flag was not set

posted in ActionScript on 2010-10-26   loader var context loadercontext crossdomain xml file checkpolicyfile flag set

Sometimes the uploading of crossdomain.xml file is not enough to get the things working.

read more

How to protect your SWF file

posted in ActionScript on 2010-10-15   function swf protect void check file import flash public ondatafiledtoload onfailed files string

Is there any way to protect your flash work? To be honest the answer is NO. As you probably know everything that is uploaded on a web server and is accessible from a web browser is downloaded to the users' computers and could be found in the temporary directories. Once someone gets your swf file he could use one of the dozen decompilers to reproduce the .fla and .as files. Anyway, there are still some ways to make stealing difficult.

read more

Adding outline of text or MovieClip in Flash with AS3

posted in ActionScript on 2010-10-06   outline filterarray color movieclip

As you probably know there is no such kind of option. We should deal with a little AS3 code.

read more

Cloning JSON object in JavaScript

posted in JavaScript on 2010-10-04   obj obj1 outpurarr var document write obj2 object getname function return obj var outpurarr clone obj var function clone obj

Simple and easy solution.

read more

Old articles New articles