Cengiz Can

Technically possible

Archive for the ‘Flash Platform’ Category

Video of Flash multi-touch on Windows and Mac

without comments

via theflashblog.com

Multitouch support comes out with Flash Player 10.1. Lee Brimelow shared a video at his blog. So cool…

Written by cengiz

January 17th, 2010 at 8:02 pm

Posted in Flash Platform

Tagged with

How easy to take screenshot of videos with Actionscript

without comments

Just create a BitmapData instance and call draw function of that instance with a DisplayObject type parameter. Here i’ve used

package com.cengizcan.graphics
{
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.DisplayObject;

import mx.controls.VideoDisplay;

public class ScreenShot
{
public static function CaptureScreen(vid:VideoDisplay):Bitmap
{
var bmpData:BitmapData = new BitmapData(320, 240);
bmpData.draw(vid);
return new Bitmap(bmpData);
}
}
}

Written by cengiz

January 3rd, 2010 at 10:44 pm

Posted in Flash Platform

Tagged with , ,

Efficient Programming Practices for AS3

without comments

Helpful document for Actionscript developers.

Written by cengiz

December 27th, 2009 at 5:29 pm

Posted in Flash Platform

Tagged with