Home arrow Programming arrow Actionscript
Actionscript
Protecting an image with the use of Flash

It's been a while since I wrote my last Flash / Actionscript tutorial. But lately, I got several requests on different Flash tutorials so I decided to start up the program once again.

Many websites don't want their images to be copied. You can add a (hidden) watermark, slamming your logo several times on the image or let it carry a secret file, but I wanted a totally different approach. I wanted to protect my images using Flash and more important: It should be done dynamically.

Image protection using Flash

Before I'm going to start with this tutorial, I recommend you to check out my demo on what we'll be creating. I'm telling you: Those images are loaded dynamically using external JPG files. Can you find the real images?

You can download the source and demo code if you don't feel like following this tutorial. You'll only need to change the XML file and you're done.


Tags:  flash actionscript jpg xml tutorial
 
Visualize audio bars by using amplitude in Flash

The new Actionscript 3.0 in Flash CS3 can be a bit tricky sometimes, especially when you're normally used to Actionscript 2.0. But there are a number of nice new functions in AS 3.0 which make it really attractive to just make it your coding standard for Flash.

Here I'll explain how to use the leftPeak and rightPeak properties of AS 3.0. With these, you can read the volume of both audio channels (left and right) seperately. With that value, you can create some nice Flash files, like this visual audio bar.

Visual Audio

Tags:  how to audio flash actionscript
 
Subscribe
Navigation
Search
Search:
          
Sponsors
   



Blogrush