4/18/12

In class Wed Apr 18th

Advanced Flash

Levels

Think about levels like layers. They stack from the top down.
The first SWF is on level 0
Levels go from 0 - 999
0 is the bottom and 999 is the top
What ever is on top covers everything below.

You call up SWF's onto layers with a "loadMovieNum" command

example use on a button:

on(release){
loadMovieNum("SWF-04.swf", 75);
}



example use on a frame:
loadMovieNum("kill.swf", 300);


You can get rid of an SWF on a level in 2 ways.

1) use a loadMovieNum to call up a new SWF on the same level
2) use an unLoadMovieNum to unload the movie from the level


unloadmovienum("level");

i.e..
unloadmovienum(100);


SWFs in the example and their level:

Rainbow Backgrounds = 0
Green Ball 1 = 50
Image = 75
Black Mask Square = 100
Black Mask Circle = 100
Green Ball 1 = 200
kill button = 300



Work on Project


* Remember on Monday April 23rd, I will not be here so it is a work on your project day! get stuff done!



No comments: