Archive

Archive for the ‘Web development’ Category

SWF protection – SWF Protector 3.0 review

July 7, 2010 Emil Beli No comments
No Gravatar

With rising problem of SWF reverse engineering, I was looking for a simple tool that does SWF protection. There are variety of tools out there, but one got the hold of my eye, so I decided to do a little testing. Not that I have something to hide, as I usually write GPL code, but when I do it for clients, then it is reasonable to mess up some sensitive code parts.
That tool is SWF Protector 3.0 which has nice interface and it is very simple to use.

According to author, it provides unbreakable protection for reverse engineering. I do not believe that, as everyting is breakable sooner or later, but for now it does the job good. It has two levels of protection, for Actionscript 2, for which I do not care about as I don’t use AS2, and two for AS3: Obfuscate and Protect.
Obfuscate does not protect SWF from decompressing and reverse engineering, but it really messes up code beyond readable. Protect protects from reverse engineering completely. Good thing is that default setting is to do both at once. However, since they increase size of the file, if size of SWF is really important, Read more…

Post to Twitter Tweet This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Flex3 – Autocompletion failure fix after SDK upgrade

July 5, 2010 Emil Beli No comments
No Gravatar

What irritates me the most in Flex Builder 3 (windows) or Flex3 for Eclipse (linux), is when you upgrade SDK, you loose autocomplete or some packages cannot be found by autocomplete.
For example, most common error is when you write import flash. and want to get events, all you can see is flash.errors but not flash.events or any other.

Problem: (this is just pure speculation)
Since FB3 comes with FlashPlayer 9.x, and most probably that you have 10.x by now, adding SDK looses itself between versions. No matter if you set in SDK’s ini file that target player is 10.

How to fix it:
Go to your project properties -> Flex Builder Path, choose Library tab, and expand your SDK.
DELETE playerglobal.swc then add playerglobal.swc manually from SDK.
(same-same but its somehow very different).

Now, clean your project and WOA! Now you have autocompletion and can see all packages.

Post to Twitter Tweet This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Flex : Flash Player not found

February 1, 2010 Emil Beli No comments
No Gravatar

Ever seen this screen in your Eclipse?
It was the most annoying until I turned on my brain cells to resolve it.
(when it really bored me to death)

Here is the screenshot:

flash_not_found

Why this message appears?

There is a minor error in Flex plugin for eclipse/ Flash builder. It searches for the folder “plugins” inside the browser installation directory and if it doesn’t find flash plugin there, or directory “plugins”, it will open this dialog, even if you have plugin installed and working.
Pressing YES, will run as normal.

It normally occures in linux distributions which has only one place for browser plugins, like openSUSE. OpenSUSE has one directory for all plugins and it is located in:

/usr/bin/browser-plugins

How to fix?
Easy. just make symbolic link inside firefox directory to this one, naming it “plugins”. Here is the command:

worktux: cd /usr/lib/firefox
worktux:/usr/lib/firefox # ln -s /usr/lib/browser-plugins plugins

Post to Twitter Tweet This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Make your own HTML signature in Gmail

October 14, 2009 Emil Beli No comments
No Gravatar

Gmail is not allowing you to make nice HTML signature by default, ones like you can make in your Thunderbird, Outlook or any other mail application. However, every problem has it’s solution. One way or the other. Let me mention, this tutorial works only for Firefox or Firefox-based browsers, like Flock.
So, let’s start… Read more…

Post to Twitter Tweet This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Flex 3 : Events – part 2

August 11, 2009 Emil Beli No comments
No Gravatar

I have seen that many of the junior Flex programmers have problems in understanding how events in Adobe Flex works and how should be used. So, I find a good thing to explain events a bit more. I have already wrote about custom events in this article. It’s time to go a bit deeper. Read more…

Post to Twitter Tweet This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Site da tua concorrencia funciona

June 9, 2009 Emil Beli No comments
No Gravatar

Últimamente, pesquisei mercado do trabalho aqui no Brasil e fiquei bastante supreendido.  Enquanto lucro e venda do Microsoft continua caindo, após recorde baixa de mês passado, demanda para programadores .NET e ASP está em alta.

Conversando com alguns gerentes da área, descobri que de maioria de empresas que vendem serviços on-line tem Microsoft como cliente. Eles conseguirum capturar este gigante como cliente? Claro que não. Gigante está comprando serviços de todo mundo. Não é por causa que eles não sabem fazer sozinhos, mas porque podem obrigar seu fornecedor usar tecnologia deles. Que marketing barato. Tambem, aplicativos que são na web, vendidos para outros clientes deles, tambem usam esta tecnologia.

Aquela baixa recorde no lucros de gigante não é da toa. Fracasso de Windows Vista obrigou clientes voltar ou para antigasso Windows XP, que pega virus cada 8 minutos, ou para opção mais moderna e barata.  Alem do Linux, Apple começou vender muito, mas muito mesmo. Vista concertada (Windows 7) ainda não está pronto para esvaziar nossos bolsos, acelerando queda dos lucros.

Agora, todas estas pessoas que se livrarum de Windows, navegam internet, claro. Abrindo site que usa ASP ou parte de .NET, bem aquelas funcionalidades que Microsoft não revelou pra ninguem,  simplesmente não funcionam. Claro, não é 100% culpa de Microsoft. Alguns são mal feitos tambem.

Então, abre um site, não abre, ou não conseguem usar busca, formulario ou gráfico, usuário fala:

“Sabe o que, meu amigo? Site da tua concorrencia funciona! Compro la.”

E vocês? Ainda tão na naviu que vaza?

Post to Twitter Tweet This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Categories: Internet, Technology, Web development Tags: ,

Pixlr – online image editing application

May 24, 2009 Emil Beli No comments
No Gravatar

I had a few times need to create and/or edit photo, but I wasnt on my computer, on known system, once it was at Zurich’s airport.
So, what do you do? If you have Adobe’s Photoshop Express online account, nothing to worry. If you just need to do some quick edit, but complex enough that Microsoft’s Paint cannot do we have solution.

At Pixlr (click for the app), we have an online and completely free Photoshop-like application. Not so complex as real Photoshop, but far better then majority of free image editing applications (save Gimp and Krita).
It is capable of saving your image as JPEG, PNG and BMP formats which you download immediately to your machine.
Working with Pixlr is a breeze. It’s worth checking out.
http://pixlr.com/app/

Post to Twitter Tweet This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Flex 3 – Creation of custom events

April 24, 2009 Emil Beli 2 comments
No Gravatar

In Flex 3 and ActionScript 3, events are the most important. As AS3 is completely event-driven asynchronimus language, commands are not waiting to finish, but executed in order, and waits for no one and nothing. However, there are a lot of code that dispaches and capture events in a way that is very error-prone. Read more…

Post to Twitter Tweet This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Flex 3 – Smart positioning popup component

March 18, 2009 Emil Beli 1 comment
No Gravatar

Popups are something that one cannot and should not avoid nowadays in web applications. I am heavy user of popups, and mostly, I do not want them to be centered on the screen/browser but opened at some coordinates at the component that invoked it.

That is nice but one problem rises. What if your component (let’s say button, link label or whatever else) is at the right edge of the screen, and usual popup opens to the right? What if it is in the right bottom of the screen? Read more…

Post to Twitter Tweet This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.