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

Kako napraviti DVD sa prevodom od video fajla

April 5, 2010 Emil Beli No comments
No Gravatar

Nije strano da imamo neke video materijale na stranom jeziku na računaru, koje smo nekako dobavili (da ne ulazim u detalje). Sve je to OK ako volite da sedite pored računara i raumete jezik, i takodje, ako imate TV sa HDMI ulazom.

Ako ipak želite da pogledate film na DVD uredjaju, na televizoru koji nema HDMI, i još sa rodbinom koja, recimo, ne zna engleski, onda je dobra ideja napraviti DVD sve sa prevodom da možete da pogledate film ili šta već, u društvu.

Kako se pravi DVD:
Recimo da imate video materijal i njegov prevod… neka taj video materijal bude u bilo kom formatu (AVI, MPG, itd…), i prevod u *.SRT ili *.ASS formatu.

Prva greška je uzeti da su prevod i video materijal sinhronizovani. Obično nisu. Da bi ste to sredili otvorite vaš film, zapišite tačno sekund filma gde se neka rečenica izgovori, i tu rečenicu. Sada vam treba neki softver za obradu prevoda. Ja volim Aegisub. U njemu je lako podesiti i prebudžiti vremena pojavljivanja prevoda, brisati i dodavati. Kad to završite, snimite prevod u formatu ASS sa UTF8 enkodingom.
Najteži posao je obavljen.

Za pravljenje finalnog DVDa vam je potreban program koji to radi. Ja najviše volim DeVeDe. Mali i besplatan program koji fenomenalno radi. U njemu odaberite da želite da kreirate DVD u ISO formatu (za lako rezanje), dodajte film, dodajte prevod, odaberi te PAL ili NTSC format koji zavisi od vašeg DVD uredjaja (PAL je obično u evropi, NTSC van evrope).
Kod programa DeVeDe, dobro je stisnuti “adjust video size”, da bi on automatski podesio da film stane na DVD.
Stisnete dugme i nakon 30min do 2h (zavisi od veličine filma ili količine video materijala), dobijete ISO fajl, koji samo narežete na DVD.

AEGISUB: http://www.aegisub.org/
DeVeDe: http://www.rastersoft.com/programas/devede.html

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

Categories: Multimedia, Technology Tags:

Flex: Callback of a Callback

March 26, 2010 Emil Beli No comments
No Gravatar

Depending on architecture of your Flex application (or application you work on), you might have to use callback functions, or it is mandatory to use them. Of course, you shouldn’t be mixing things inside so service functions should remain in service class, where you call your remote objects. Callback function populates your model and that is it. We shall not get into merit should you use MVC, callback functions etc. but presume that you have to do it this way.
So, this is a typical remote service call: Read more…

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

Virtuelne Mašine

January 12, 2010 Emil Beli No comments
No Gravatar

O virtuelnim mašinama je napisano mali milion opširnih članaka o svim mogućnostima i prednostima istih, međutim, malo ko razume sve što one mogu. Uključujući tu i mene. Sve je to previše “virtuelno” za jednog prosečnog korisnika, ali ipak, i previše korisno da bi se one zanemarile. Kako ja mnogo koristim virtuelne mašine (do duše, na najjednostavniji mogući način), mislim da vredi objasniti koliko su korisne.

Šta je u stvari virtuelna mašina? Virtuelna mašina, u daljem tekstu “VM”, je program koji radi unutar operativnog sistema, kao i svaki drugi program, ali za razliku, simulira drugi kompjuter. Drugim rečima, kompjuter unutar kompjutera. Kako je to program, omogućuje kreiranje bezbroj kompjutera unutar (fizički prisutnog) kompjutera na kome radite (mogući broj VM-a zavisi, zapravo, od mesta na disku).
Dobro, kompjuter unutar kompjutera, ali čemu to? Read more…

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

Baires – Batch Image Resizer

December 10, 2009 Emil Beli 1 comment
No Gravatar

The problem: I need the easiest way possible to resize a bunch of images from a digital camera, or from one directory, and place them into another.

There are a lots of great tools for the job. As linux user, I had a choice of a variety of excellent applications to use, from large scale applications like GIMP or Krita, to small tools like BIRT. Lately, because I have KDE4, I used Gwenview because it supports batch resizing.

However, all of them ask you to select the files which you wish to resize. Well, I want all of them; I may have already prepared them in some directory by selecting them from various sources. So, file selection was just slowing me down.

Solution: Since I could not find a tool which would solve my problem, I made one.

Baires is an application that will resize all of your pictures that reside in a selected folder, and resize them to the same folder or another folder. Since it keeps ‘last used’ settings, next time resizing is just one click away.

Baires is an open source GUI application, made in Qt. It works on all platforms, but if you are not using openSUSE or Fedora linux, you’ll have to compile it from source. I have pre-compiled RPM packages for openSUSE 11.0 to 11.2, SLED/SLES 10 and 11, and Fedora 9-12, available for download.

You can download it from Baires download page

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

Compiling kernel in openSUSE – easy way

November 23, 2009 Emil Beli 15 comments
No Gravatar

The first question you may ask is why to compile kernel in the first place? Well, since all companies/groups that makes Linux distributions wants their product to work on as many machines possible, kernel is compiled in the most generic way possible. That means that it is compiled for low-end processor and it includes all possible modules that kernel has to offer. It is obvious that it is made to work with everything and not to work fast. For example, you will see in many Linux packages, kernel included, filenames have some suffix like i386, i486, i586, i686… It means for which processor they are compiled. i386 and i486 will work on i386 and i486 old processors respectively, and higher, while i586 will work on Pentium 1, and i686 on Pentium pro. So, if you have, for example, Intel Core2, and you use i586 generic file, this means that all of the new and fast instructions that your processor have will be unused. So, if we compile kernel for our processor, it will run much faster.
Read more…

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

Categories: Systems, Technology Tags: , , ,

Spajanje više video fajlova u jedan, i konverzija (II deo)

November 12, 2009 Emil Beli No comments
No Gravatar

U svom članku od 16-og marta Spajanje više video fajlova u jedan objasnio sam kako se jednom jednostavnom komandom mogu spojiti video fajlovi u jedan finalni. Kao komandu za to sam naveo

cat 1.mpg 2.mpg 3.mpg > final.mpg

Međutim, to baš i nije najsrećnije rešenje. Kada se video prebaci na Windows, Media player naročito, ne očitava dužinu trajanja fajla kako treba.
Bolje rešenje je sledeća komanda koja to radi baš kako treba:
Read more…

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

Na šta sve pristajemo kad imamo/instaliramo Windows

November 10, 2009 Emil Beli No comments
No Gravatar

Članak ispod uporedno prikazuje originalnu licencu, član po član i šta on znači na jednostavnom engleskom, koji svi mogu da razumeju. Obavezno procitajte. Članak je baziran na licenci “Windows XP Home”

>>>>> MS EULA in plain English <<<<<

Od svih katastrofalnih (po nas) članova licence, ovaj mi se najviše svideo:

Microsoft may collect information about your computer and may share it with other companies, but this may not include personal information about you.

Ovaj link je pokupljen sa sajta(foruma) linuxzasve.com

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.