This text is replaced by the Flash movie.

keytool and Android Maps

May 20th, 2011
Using Maps on Android is quite hard to implement compare to Apple's iPhone and xcode development, it's really weird that Google have to make these troubles for their Android developers. You have to generate API key before you can use the map or else you are just gonna see tiles.

Map With iPhone Xcode(Objective-C) is simple to implement.
Android Maps

Map With Android Eclipse(Java) Not following instructions from Google Site will just show tiles.
Android Maps

Before you can generate API key for your android applications with map in it. You have to go http://code.google.com/android/maps-api-signup.html and follow the steps, on windows I found out that the keytool is not recognized. keytool is one of Java tools,

Android Map

so the simple fix was just I browse down to my Java bin folder L:\Program Files\Java\jre1.6.0_07\bin and check if I have it there, then add it on the Environment Variables PATH, to make it easy for you to call this executable file while you are in the current folder of debug.keystore.

Android Map

So After Obtaining API Key I finally can see the Map on Emulator powered by Google Apis.
Android Maps Android Maps

PhoneGap Copy Javascript Error

May 16th, 2011
I'm trying something new right now, web apps on smartphones, while trying to shell a simple html I did, (just displaying a JS alert box) I got this error that phoneGap can't transfer something.

PhoneGap JS Debug

The simple fixed was just rename the folder that has space on it going to your xcode project.

PhoneGap JS Test

ZendFramework Library

March 1st, 2011
if somehow you encounter this kind of error(mostly this will be encounter by first timers using ZendFramework)

Warning: require_once(Zend/Application.php) [function.require-once]: failed to open stream: No such file or directory...
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Application.php'....


Zend Framework Library you can either include the path library(where you installed Zend Framework your client path) in your php.ini, or manually copy the zend library under your application library folder.

for php.ini settings
include_path = ".:/Applications/MAMP/bin/php5/lib/php:/usr/local/ZendFrameworkCli/library"


where /usr/local/ZendFrameworkCli is the path I installed my ZendFramework .../library is where the zend libraries are located.

NFS Undercover

February 24th, 2011
The Awesome Highway Battle



    Please watch in HD

Transition Between 2 Movie Clips with Tween Class

February 18th, 2011
This is just Basic Flash ActionScripting with 2.0 Using TweenClass Between 2 movieClips. In this example I used 2 images which converted to were movie clip, which I will make first Movie Clip to appear first by transitioning from alpha 0 to 100 then transisioning back from 100 to 0 and then calling Movie Clip 2 to do the same transition then loop back to Movie Clip 1 to repeat the transition.

First Have your first movie clip then convert it - name it anything you want.

Converting to a movie Clip

The important part is assigning the instance name of the movie clip, this is the ActionScript name going to identify. For this example I name firt movie clip as movP1 and second movie clipt as movP2.

Instance naming movie Clip

so put this as2 script inside a frame (where the movies are also visible)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import mx.transitions.Tween;
import mx.transitions.easing.*;
 
movP1._alpha = 0;
movP2._alpha = 0;
 
firstTween();
 
function firstTween(){
var Tween1:Tween = new Tween(movP1, "_alpha", Strong.easeOut, 0, 100, 5, true);
setTimeout(doNextTween, 5000);
 
}
 
function doNextTween(){
  var Tween2:Tween = new Tween(movP1, "_alpha", Strong.easeOut, 100, 0, 5, true);
  var Tween3:Tween = new Tween(movP2, "_alpha", Strong.easeOut, 0, 100, 5, true);
  setTimeout(loopBack, 5000);
 
}
 
function loopBack(){
  var Tween4:Tween = new Tween(movP2, "_alpha", Strong.easeOut, 100, 0, 5, true);
  setTimeout(firstTween, 100);
}


setTimeout(doNextTween, 5000);
this call the function after 5 seconds.

Demo:
Flash required


Or Just
Download The Source File.