30 July 2008

Streaming Live Video with Flash Media Server


Having thought of using Webcam and compile it as part of Flash project? Student of Tom Green do. In fact, you should come and see what he doing to make it happened.

What we need, just do the following:

- Use a webcam and Flash Media Encoder 2.5 to create a stream.
- Use the FLVPlayback component and one line of ActionScript to feed that stream into a browser.

There are 6 articles for this :

Part 1: Installing Flash Media Server 3
Part 2: Streaming video with Flash Media Server 3
Part 3: Using ActionScript 3.0 with Flash Media Server 3
Part 4: Streaming audio through Flash Media Server 3
Part 5: Security features in Flash Media Server 3
Part 6: Streaming live video with Flash Media Server 3

Interesting huh? go and get it via Adobe Developer Center.

23 July 2008

Flash Lite UI Component Examples

Here are some nice and lightweight components directly from the Experience Design team at Adobe Mobile and Devices.

What will you get from them:

* Discover how to create low memory yet rich components
* List, Slider, Tile, NavModel and Gapper components for Flash Lite 2.x/3.x
* Carousel, Menu, Story and scroll bars in Flash Lite 1.1
* Key Handling for Flash Lite 1.1 and Flash Lite 2.x/3.x
* Image Handling, loading and unloading etc (TileMenu)
* Creating device UI and multi-screen applications (NavModel)


Grab this here.

09 July 2008

Bvlgari Stop Watch Timer

Today, i just realized that some analog watch use smallest hand just for stop watch guide. It is different than other watch, which use 3 kind of hands for pointing hour, minute and second.

Please check Bvlgari with Calibro 303 series. It has 3 small circles on it. The lower one is pointing second hand. So it will be little hard to create small Flash Lite screensaver with different purpose as usual.

So, we need to create small stop watch function as part of watch working. To help, we need to use function GetTimer().

time1=getTimer();

Also we need to put 3 buttons on the stage, start, stop and reset. In layer called action script, we add this code : stop() on frame 1, /:time2=getTimer();/out=/:time2-/:time1; (on second frame), and gotoAndPlay("count"); (on third frame).

On Start Button, add this code :

on(keyPress "1"){
/:time1=getTimer();
gotoAndPlay("count");
}

On Stop Button:

on(keyPress "2"){
gotoAndStop("full");
/:time2=getTimer();
/:duration = /:time2 - /:time1;
/:output = "Elapsed Time: " add /:duration;
}

On Reset Button:

on(keyPress "3"){
/:output="0";
gotoAndPlay("Stopped");
}

Thanks for Phillip Lam for great tutorial articles.

PPL IAIN Syekh Nurjati Cirebon

Jika ditanya apa yang kau suka dari kehadiran mereka? Mereka punya jawabannya : semangat yang tinggi dengan keingintahuan yang tipikal mahas...