Background Image and date

 

The goal is to show how to display an external background image depending on season. It 's basically a script and a good understanding of progamming is required.

⇒ animation ⇐

(Please wait when image is loading; no preloader set up

We gonna describe the differents stages right away.

Creating Objects.

1 - Set up Movie size 480x640.
Be sure in tab Export, Mask off-stage objects is toggled.

2 - Insert a sprite which origin (anchor point) is 0,0
Name it Conteneur. Target toggled.

3 - Create a dynamic text txt ( variable : txtdyn). Set it up wherever you want.

stage

SwishMax Script

Here is the script for Scene_1

Don't forget to load 4 images in the same server directory as your swf stands. I supposed season 'll change on 21st ....

 


Si vous aimez le site

 

Select a language if you need :


Page chargée en 0.035 sec.

Dernière Modification : Mer 25 Janvier 2017 8:56
Copyright © 1999-2017 Jean-Paul Molina Tous droits réservés.

to Google