22
Jan/10
0

Unix Timestamp in Flash

Recently i needed to convert normal Time to Unix Timestamp in Flash. I couldn't get how to go about it intially. But when i gone through the definition of Unix Timestamp, its was clear for me.

"The unix time stamp is a way to track time as a running total of seconds. This count starts at the Unix Epoch on January 1st, 1970. Therefore, the unix time stamp is merely the number of seconds between a particular date and the Unix Epoch."

In order to count the number of seconds till a time, we have method Date.getTime() in Flash. This will effectively return the number of seconds from the Unix Epoch till the Date.

This is how i tried to find out the number of seconds till today's System Time:

var myDate = new Date();
trace(myDate);
var unixTime = Math.round(myDate.getTime()/1000);
trace("Unix Time: "+unixTime);

Output:

Fri Jan 22 13:01:55 GMT+0530 2010
Unix Time: 1264145516
21
Dec/09
0

ADOBE and AVATAR

 A video featuring Jon Landau, Producer of "Avatar", describing how Adobe software was used throughout the production of the film.  

Very proud to be part of ADOBE...

Filed under: Adobe
19
Dec/09
0

GPU Acceleration in Photoshop CS4

Check out the video from ADOBE TV about new GPU Acceleration in Photoshop CS4.

17
Dec/09
1

Flash Search Engine Optimization

Here are is the video series from ADOBE TV by Jay Middleton and Damien Bianchi  on Flash Search Engine Optimization. They talk about Flash content crawlability and keyword and website strategies for search engines.

Episode 1

15
Dec/09
0

3D Astral Projection in Photoshop CS4

This is a cool video tutorial from Adobe TV on how to take a 2D object and project it into 3D Space in Adobe Photoshop CS4 Extended.

Check it out...

14
Dec/09
0

Open Source ActionScript APIs

As you all might have heard of many opensource ActionScript API's like APE, Away3D, Papervision3D etc.

You can get all of such opensource APIs at one one place: http://actionscriptapis.com/

Nice to see all the API's at one place. Check them out...

12
Dec/09
0

Using the Flex Charting Components

11
Dec/09
0

Adobe Device Central CS5 Sneak Peek


10
Dec/09
0

Top 10 Little-Known Features in Photoshop CS4

Check out this video by Julienne Kost in ADOBE TV, which talks about some nice features which are mostly unknown and can make a huge difference in your design.

9
Dec/09
0

Transitions and Easing in FLEX

Here is a nice video from ADOBE TV about Transitions and Easing in FLEX...