Hello, I'm Erwin. I'm a Web Developer.
See my little experiences on my blog.

Flash Generator (Part 2)

Posted: February 26th, 2010 | Author: erwin | Filed under: PHP | Tags: , , | No Comments »

Database Designer

* primary key

** foreign key

There are three table that used to system. First is data_user. It used to collect all data about user, such as username, password, email, and level. The second one is Collection. It used to collect all data about banner form specific user, such as banner_id, banner_name, location, embed, size_id, and username. The last table is banner_size. It used to collect all about banner size information. I used Google Adsense to my banner size reference.
Read the rest of this entry »


Flash Generator (Part 1)

Posted: February 26th, 2010 | Author: erwin | Filed under: PHP | Tags: , , | No Comments »

twimee

What is Flash Generator?

Flash generator is my final project for Bachelor Degree. This project based on PHP and Ming Library. In this project I tried to explorer technology of Ming Library. In this project i focussed to generate Web banner only.

What is Ming Library?

Ming Library is library made by Dave Hayden. Ming allow you to create Flash file under PHP, C++, Ruby, Perl and Python. Ming based on Object Oriented Programing. So you can easily use Ming with classes provided. Ming have many class to generate Flash object, such as shapes, gradients, bitmaps (pngs and jpegs). morphs (”shape tweens”), text, buttons, actions, sprite (”movie clips”), streaming mp3, and color transforms. Ming support almost Flash 4 featured. (some Ming tutorial here)

Read the rest of this entry »


Captcha With PHP (Part 2)

Posted: February 26th, 2010 | Author: erwin | Filed under: PHP | Tags: , | 1 Comment »

In this Captcha, I tried to using Ming Library as PHP extension. Ming Library is used to generate Flash movie on Fly. So I can animated my Captcha using Flash movie. Make sure you have installed this extension. For Windows user you can install easily with XAMPP (download here). It’s same like previous Captcha you need add least 3 PHP files.

Read the rest of this entry »


Ming Library dengan PHP (Part2)

Posted: February 26th, 2010 | Author: erwin | Filed under: PHP | Tags: , | No Comments »

Mengisi Obyek Dengan Ming

Ming menyediakan tiga cara untuk melakukan pengisian obyek, yaitu pengisian obyek dengan warna, mengisi obyek dengan gradient, dan mengisi obyek dengan gambar. Kelas SWFShape() menyediakan dua fungsi untuk mengisi obyek yaitu fungsi setLeftFill() dan fungsi setRightFill(). Untuk menggunakan keduanya, perlu menggunakan SWFFill() sebagai argument. SWFFill() dapat dipanggil dengan menggunakan fungsi addFill() yang merupakan bagian dari SWFShape(). Fungsi addFill() ini mempunyai argument warna RGB. Fungsi setRigthFill() digunakan jika ingin mengisi searah dengan jarum jam, sedangkan fungsi setLeftFill() digunakan untuk mengisi berlawanan dengan arah jarum jam.

Read the rest of this entry »


Ming Library dengan PHP (Part1)

Posted: February 26th, 2010 | Author: erwin | Filed under: PHP | Tags: , | 1 Comment »

Dengan Ming Library kita dapat membuat file Flash hanya dengan menggunakan PHP script. Ming Library adalah pustaka karya Dave Hayden yang dapat menambah kemampuan PHP untuk menghasilkan file Flash (*.swf). Ming Library mendukung sebagian besar fitur yang terdapat pada Flash 4. Ming juga dapat digunakan pada bahasa pemrograman C++, Ruby, Phyton dan Perl.

Untuk dapat menggunakannya kita terlebih dahulu harus memastikan Ming Library terinstall sebagai ekstensi PHP. Petunjuk menginstall Ming dapat dilihat pada  http://www.opaque.net/ming/install.html. Bagi pengguna Windows, agar lebih mudah dalam melakukan instalasi, dapat mendownload XAMPP di http://www.apachefriends.org/download.php?xampp-win32-1.6.6a-installer.exe

Read the rest of this entry »