Archive

Archive for the ‘General Web Development’ Category

Flashdevelop 3.0 alpha released!

May 30th, 2007 No comments

Flashdevelop is an IDE to write AS2 and AS3 codes. It is a complete open source development environment. For more information click here and to download it click here.

Project I have been working on.. Charting: part #1

May 30th, 2007 No comments

I have been working on some projects lately for my classes and others for money. One of the project I was doing is a web based program for senior students project on Petruleom Engineering department. The goal of the program is to find how long the oil will last in Kuwait. In addition, the program should find the maximum production and the year of maximum production.

So far it seems easy, but the hard part is coming.. drawing the chart!. Okay, that sounds easy for me at the begining, but after thinking for awhile I realize that will consume time. I start by looking for an open source of a chart program. Searching for over 12hours for charting program on JAVA or ActionScript. All I can find are the ones you have to pay ALOT of money just to make one. Therefore, I decided to make the charting program from scratch.

Adobe Flash’s Actionscript 2 was the language I decided to use for the program. The reason is because I’m going to make the program a web based program which loads on a webpage and works there. Java was my second option because first I’m more experienced on ActionScript than Java, and second because I didn’t have much time to waste on a language I’m less experienced in since final exam was close.

The first kind of graph/chart needed is “scattered xy” with a linear regression line. Arrghh, looking for linear regression equation really exhausted me because I was using the wrong term when searching for it for many hours. I’ll take about it in details in coming posts.

The second kind of the chart is scattered xy with nonlinear regression curve. But I won’t figure out this curve’s equation, I’ll just use the given data to draw the curve. Its almost the same as the first graph idea in coding, just needed to include few more stuffs.

Good web 2.0 lecture

May 26th, 2007 No comments

I highly recommend computer geeks and new developers to watch this.

ERain announcing Harmony

May 14th, 2007 No comments

Today I recieved a newsletter from Erain announcing their new program Harmony which should be available on market this summer. Harmony transforms SWF files into XAML-markup which is used in Microsoft WPF and in the new up coming SilverLight.

Yawn

Categories: General Web Development Tags:

Microsoft Silverlight

April 19th, 2007 No comments

I was surfering the web as normally I do, checking updates on technology and computer related news and blogs and I come across a title “Microsoft to battle Adobe Flash with ‘Silverlight’” .. and I was like ‘what the heck!’. I went to google and searched for Silverlight to gain some informations about it.

It seems that Microsoft is now going for Rich Internet Application and compete with Adobe Flash. That’s a big step for microsoft towards the greed of controling the computer world which is natural since its a corporation and wants more money. I think that’s what will make Adobe and Microsoft compete on developing better Flash and better Silverlight application.

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.

SWX – a new remoting way to create interactive environment with flash

April 4th, 2007 No comments

SWX is a project developed by Aran Balkan one of the best flashers on the web. SWX concept is similiar to AMFPHP concept which is retriving data in real time by Remote Precedure Calling (RPC) to be able to make real time web application like AJAX but in flash. But the difference, in SWX you retrive information from an SWF file rather than PHP file, and the information retrived from the SWF is a variable and we deal with it as an Object Class (AS way of defining a movie clip). In flash you manipulate with the variable recieved to suite our implementation. Just imagine the coolnest of those idea and what you can do with flash!

Flash CS3 Review

April 3rd, 2007 No comments

Flash Magazine made a good review of the new Adobe Flash CS3. Take a look at it and feeeel it!

Categories: General Web Development Tags:

Flash CS3 and Photoshop CS3… raises the boundary of digital interfaces

April 2nd, 2007 No comments

I am really impressed with the way Adobe made its new package of programs integerates together easily and more flixeble. Now I can open PDF files by using import in Flash CS3 and flash automatically distinguish between layers and images on the photoshop document. With the many new feature coming to Flash CS3 and Photoshop CS3, the possiblity to make richer and more accurate web interface experience.

Here is a quick example: Using photoshop quick selection tool to select the right part of image to work with, use Auto-align to get a better picture, use smart filter ordering to get the required experience, then use vanishing point to make the image more 3d and more realistic with the support of 3d measuring tools. Import it to flash as PDF to have a great and top quality magnificine image to work with and apply actionscripted animation with actionscript 3, modify it to fit the predefined mobile device content, do some drawing with the new rich drawing tools, apply filters and components, then export it to work on PC or mobile devices. Not to mention all other design and development programs coming with the CS3 package. All these flixebility makes Adobe CS3 one of the best developing and designing enviroment for everyone’s need.


FLash CS3

Categories: General Web Development Tags: