On Improving Privacy: Managing Local Storage in Flash Player

The Adobe team work hards to add new features in flash players. They are

1) LSO(Local storage object): To allow user to clear LSOs from the browser settings.

2) Working on redesign on Flash Player Settings Manager. To access the Flash Player Settings Manager directly from your computer’s Control Panels or System Preferences on Windows, Mac and Linux, so that they’re even easier to locate and use.

http://blogs.adobe.com/flashplatform/2011/01/on-improving-privacy-managing-local-storage-in-flash-player.html

 

 

Flash Player 10.2 – fullscreen video on 4 monitors simultaneously

by polygeek:

Flash Player 10.2 was released today. But it’s only a dot release over 10.1 so no big deal, right?

Wrong! 10.2 is a huge release.

The two major additions to this release are Stage Video which lets you play full screen HD quality video while using far less processor.

The other nicety is being able to play fullscreen video on one monitor while working on another. You can even overlay an application – like Photoshop palettes – over a fullscreen video while it’s playing. Very nice for those of us who like to multi-slack. :)

Just to show off both of these amazing new features I thought I’d show you a screen shot of my desktops while playing fullscreen video on all four monitors.

4 monitor desktop

All 4 are youTube 1080 HD videos running on 1920×1080 monitors.  I ran the performance monitor while the videos were playing and the CPU usage ran around 30%-35%. And that was also with uTorrent downloading, Flash Builder, Photoshop, Tweetdeck and WinAmp all running.

You can read more of the technical details of the Flash Player 10.2 update at Adobe.

 

Flash Player 10.2 announced

Flash Player 10.2 has been announced.  Video on the web will become both much faster and less processor hungry.

The new features in 10.2 include:

  • Stage Video, a full hardware accelerated video pipeline for best-in-class, beautiful video across platforms and browsers
  • Custom native mouse cursors
  • Multiple monitor full-screen support
  • Internet Explorer 9 hardware accelerated rendering support
  • Enhanced sub-pixel rendering for superior text readability

Helpful Flash Player 10.2 resources:

Flash Player Team blog post: http://blogs.adobe.com/flashplayer/2011/02/flash-player-10-2-launch.html

Adobe Developer Center:

3rd Party Blog posts and demos:

 

Screen Capture with Flash

This is something interesting. I’m just copy and paste author entries.

 

Problem

While working over numerous projects I often had requirements for doing screen capture in AS3.0. Unfortunately I found none in google search, but got some resources which helped me to develop a component for screen capture. With a hope that this will someone out there, I have posted it here.

Solution

The SWC takes snapshots of each frames and converts it to bytesArray for storing and displaying in the end as an FLV bytes stream.

Detailed explanation

Below is the Main mxml page developed using Adobe Flash Builder, SDK 4.1, Flash Player version 10.1.0. In this example I am doing a screen capture of the stage.
I have added a video and placed 3 buttons, Record, Stop and Play.
On clicking on the Record button, the recording of the page starts. Once you click on stop, it stops recording.
Then click on Play button to see the recorded version. You may have other things/animations on stage for recording too, I have just tried with an flv.
The recording play is basically bytesArray of an FLV created on run-time. You can save it to your server by passing this binary data to any back-end technology – ASP.Net or PHP, etc.

//Main.mxml

01 <?xml version="1.0" encoding="utf-8"?>
02 <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
05 width="955" height="600"
06 addedToStage="onInit();"
07 frameRate="24" >
08
09 <fx:Script>
10 <![CDATA[
11 import com.dd.screencapture.ScreenCapture;
12 import com.dd.screencapture.SimpleFlvWriter;
13
14 private var screenCapture:ScreenCapture;
15
16 private function onInit():void
17 {
18 screenCapture = ScreenCapture.getInstance();
19 screenCapture.source = stage;
20 screenCapture.fps = 12;
21 screenCapture.size( 400, 300 );
22 screenCapture.x = 400;
23 screenCapture.y = 250;
24 stage.addChild( screenCapture );
25 }
26
27 private function startRecord( event:MouseEvent ):void
28 {
29 screenCapture.record();
30 }
31
32 private function stopRecord( event:MouseEvent ):void
33 {
34 screenCapture.stop();
35 }
36
37 private function playVideo( event:MouseEvent ):void
38 {
39 screenCapture.play();
40 }
41 ]]>
42 </fx:Script>
43 <s:VideoDisplay width="400" height="300" source="assets/myVideo.flv" />
44
45 <mx:HBox >
46 <s:Button label="Record" click="startRecord( event );" />
47 <s:Button label="Stop" click="stopRecord( event );" />
48 <s:Button label="Play" click="playVideo( event );" />
49 </mx:HBox>
50 </s:Application>

Place the ScreenCapture.swc in lib folder of the flex project. You may also use this swc for any ActionScript 3.0 projects. Kindly note that this requires Flash Player 10.1 to run properly. No audio capabilities here.

Interestingly, you can save the screen capture as FLV format by using this piece of code below:

var saveFile:FileReference = new FileReference();
saveFile.save( screenCapture.data, "video.flv" );//screenCapture is the ScreenCapture instance created in the above code block.