Archive

Archive for the ‘Others’ Category

Star Wars' 30th anniversary

May 26th, 2007 No comments

For all starwars lovers and fans (I’m one of them), friday was the 30th anniversary of starwars. 30 years passed since the first release of starwars movie in theater.

Hurry up George Lucas and release Star wars VII, I can’t wait to watch it!

Categories: General Tags:

Funniest babies

May 25th, 2007 No comments

Adorable 🙂

Categories: Fun Stuffs Tags:

Nobody's Watching OK Go

April 25th, 2007 No comments

Categories: Fun Stuffs Tags:

OK Go – Here It Goes Again

April 25th, 2007 No comments

Okay.. this is really funny

Categories: Fun Stuffs Tags:

Scare Tactic- Rat Monster

April 18th, 2007 No comments

Check this out! this guy screams like a lady…

Categories: Fun Stuffs Tags:

Winsongs 95

April 16th, 2007 No comments

Categories: Fun Stuffs, Others Tags:

Web 2.. The Machine is Us/ing Us

April 12th, 2007 No comments

Making phone program with flash

April 8th, 2007 No comments

won before
 use Tel:
 easy

I have written this article before like 4 years ago in arabic and I won 2nd place on a compitition of best articles on the forum of http://www.ce4arab.com . the article was about making a phone call using flash on your pocket pc.

The idea was simple, you can make a phone call through internet explorer using Tel: NUMBER. For example, you want to call 33344422, simply you type on the internet explorer of your pocket pc “Tel: 33344422” and it will make the call. Well, I don’t know the command which will hang up the phone, but you can just press cancel when you placing a call. Anyone good enough in ActionScript will be able to do that without any trouble.

 To implement that on flash, first you have to make 10 buttons for number. Each time you click a button you add that number as a string to your variable, lets call that variable callNumber. For example when you click button five you add the character value 5 to your variable callNumber.

on (release) {
   _root.callNumber = callNumber + “5”;
}

You do that to all the number buttons. However, be sure to deal with the variable as string not as number which will do addition operation. We cannot use callNumber without defining the variable “callNumber”, we want to make it a timeline variable. To make it a timeline variable, go to the current frame and declare a variable with type String:

var callNumber:String = “”;

We gave it the initial value empty.

On the call button you add the string “Tel: ” and callNumber to your getURL command. Therefore, the call button actionscript will be as the following:

on (release)
{
   getURL(“Tel: ” + callNumber);
{

Simple isn’t it? I guess it is, or atleast so far.
We can add a digital LCD to the flash movie, so you can see what you are dialing like real pocket pc phone program. We add a dynamic text field to the stage and give it the var name “callNumber”. Its so simple and easy even for flash newbies.

The way to do it is simple and easy, but the idea that “Tel: number” on PPC internet explorer was unknown by most of you I’m guess. I can’t remember where I learned about the “Tel” command of the internet explorer.

Windows Vista Speech Reognition Demo

April 7th, 2007 No comments

This doesn’t need any explaination!

Categories: Fun Stuffs Tags:

C++ pointers lesson

April 6th, 2007 No comments

Categories: C++, Fun Stuffs Tags: