Swami Charan's Blog My personal blog…

8Apr/100

Simple Menu in Flash AS3

Hi all, upon request from people, here i am with a small tutorial on 'Creating a Simple Menu' in Flash AS3.

Final Output:

This movie requires Flash Player 9

10Mar/102

Samsung Apps Contest 2010

It seems Samsung has plans to start its own TV Appstore with applications using Flash Lite for Digital Home. Samsung announced new “Internet@TV” service, where user can download the various kind of applications onto Samsung DTV through internet with its own UI and service client.

Currently, Samsung provides the SDK to only register CPs. The current number of CPs is 200 and there are about 80 applications in application store. Those numbers will increase as time goes. It recently announced the SAMSUNG APPS CONTEST 2010, calling developers to use their SDK and create new applications for TV.

Any developer who wants to create applications can

Developers can make applications using  Web technologies (HTML and JavaScript) and ADOBE FLASH Technology.

Hope this starts a new era of TV Apps using Flash Lite for Digital Home.

2Mar/100

TiVo DVR using Flash Lite for Digital Home

Adobe Flash Lite for Digital Home is in news now-a-days. Recently Intel's Sodaville announced that they are going to use Flash. Now its TiVo, which announced its new Set-top box which uses Adobe Flash Platform.

TiVo_Premiere

This device has several new menus with a very rich UI:

  • TiVo Central
  • TiVo Search
  • Tivo Browser (Tivo Content Browsing, not a html browser)
  • My Shows etc

Apart from this, the Remote is pretty exciting with QWERTY Keyboard and very much like the way needed to navigate different Applications.

Way to go Flash Lite for Digital Home...

27Feb/100

Adobe Flash Player 10 be available on Intel Sodaville

intel-logoDuring this week's Intel Developer Forum, Intel has unveiled "Sodaville" a new 45nm system-on-a-chip based on the comapny’s Atom processor that’s designed specifically to bring interactive, Internet-based services and content to televisions, set-top boxes, and peripherals like DVD players and DVRs. The chipset supports both Internet and broadcast applications, and has enough processing horsepower to handle both video and audio processing and 3D graphics in real time.

The CE4100 will be available at speeds of up to 1.2 GHz, and will feature hardware-based decoding capabilities that can handle two 1080p video streams simultaneously, along with high-definition audio and 3D graphics. The system supports hardware-based decoding for MEG4, and integrated NAND flash controller, support for DDR2 and DDR3 memory, support for SATA-300 and USB 2.0, and 512K of L2 cache. The chip will support Flash Player 10, along with standards like OpenFGL ES 2.0 for developing media-intensive 3D applications; Adobe expects Flash 10 to be available for Sodaville devices in mid-2010.

22Jan/102

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
17Dec/091

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

14Dec/090

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...

11Dec/090

Adobe Device Central CS5 Sneak Peek


8Dec/090

Making particles dragable in APE

As you all know what APE is, I will go directly into what problem i faced when started with it and how i overcame it. First of all, APE source has class named Vector defined in it. When we try to publish any content with APE on Flash CS4/FP 10, there will be a conflict that arises between Vector class of APE and Vector Datatype of Flash Player 10.

So, i had to modify the APE source to rename the Vector class in APE and change the reference of Vector in APE source with the new name. Then i could able to run content with APE on Flash Player 10. You can download the modified source from here.

Making Particle Dragable:

After successful in running the content on Flash Player 10, i wanted to check out how drag works on APE particles. There are separate class files called 'DragableCircleParticle.as' and 'DragableRectangleParticle.as' under Files section of APE Google Group.

Place these .as files under 'source\org\cove\ape' Folder of APE.

Using these classes can make our work easy in making particles dragable.

These dragable particles can be initialized as follows:

DragableCircleParticel(x:Number, y:Number, radius:Number, fixed:Boolean, mass:Number,elasticity:Number, frictio:Number);

DragableRectanlgeParticle(x:Number, y:Number, width:Number, height:Number, rotation:Number, fixed:Boolean, mass:Number, elasticity:Number, friction:Number)

7Dec/090

Multitouch in AIR 2.0 and Flash Player 10.1

You might have heard by now about all the new features that is part of Flash Player 10.1 and AIR 2.0. One of the exciting features is Multi-touch and Gestures capabilities.

Check out this video where Kevin Lynch demoing some of the multi-touch capabilities during Keynote at MAX Conference.

For Multi-touch to work, the hardware should support Multi-touch events.