mercredi 17 février 2010

FLASH scripting starter 2

After discovering your truly great friend "trace" in FLASH and some other commands we go on loading an image and a sound.

We do this streaming, loading the sound and the image from outside the FLASH movie.

The details of this streaming is hidden in a function which you can copy from the example script. You dont have to study this!

What we will practice is making your movie listen to the keyboard and loading images and sounds from the keys.

For this I have made a collection of ready to use sounds:
http://www.contrechoc.com/flash/shortMP3sounds.zip

The image have to come from your own collection, you can use JPG or PNG.
PNG can be transparent.

We use this example movie:

http://www.contrechoc.com/flash/FlashStarter2.zip

We will explore this  movie and make it our own, that is to say we will make our own interactive FLASH movie, importing sound and images.

used:

  • keys, keyboard, keyListener

Aucun commentaire:

Enregistrer un commentaire