Hello, code freaks! This tutorial will show you how to split a running video into blocks as if it has exploded. And all this using just ActionScript. For this tutorial we’ll use the camera as the video source, so you can see the changes live.
Final Result Preview
Let’s take a look at the final result we will be working towards:
Click and drag a block to move it around the screen! (Camera access required.)
Step 1: Setup – IDE
For this tutorial we’ll be using the FlashDevelop IDE (though you could use any AS3 editor). In case you don’t have it and want to try, you can grab it from >here. A basic tutorial on setting up FlashDevelop on you machine can be found here.
Also if you have Flash Professional installed on your side, that will work too. All you need to do is create an external class file as mentioned below and link it to your Flash project as a Document class.
That sets up our working environment.
Step 2: Setup – New Project
Create a new AS3 project in FlashDevelop[...]
Carve Up a Video in Real Time With AS3
No comments:
Post a Comment