Dynamic Text On Video – Real Time (AS3)

Hi there,

Today, I am showing you a way to add dynamic text to a video and in real time!

You’ll probably think this example is pretty crappy (I agree with you)… But please note that this was done in a couple of hours and you can achieve really satisfying results if you spend a little more time on it.

Get Adobe Flash player

So first take a video.

Then import it in Flash directly in the timeline.

Create a shape that you convert into movie clip and adjust its size and position on each frame.

Then we create a textField dynamically, convert it to Bitmap, and ad an instance of it on your shape MC.

The reason why we convert the text to bitmap, is to make transformation and manipulation easier.

Download the source file here

And below is the AS3 code.

Hope you enjoy it!

Comments are closed.

JibJab eCards

I’m a Web & Media Developer/Freelancer. Spending most of my time looking for pieces of code, techniques and advices on the web, I am attempting to gather in here, everything I found interesting in there… Hope you enjoy this and thank you for reading! Mike