|
 |
|
|
|
|
|
Hi folks,
This is a simple tutorial that explains the working of lower levels. Loading movies in sprites / movieclips.
see this :
http://users.belgacombusiness.net/cd028113/brol.swf
You can see that when clicking on a button, the text/image is loaded at an exact position between the grey bars (menu bars).
How to do so :
- First make a empty movie - type your text where you want and reduce your moviesize to the space needed to display your text. - save that file and export it to swf. (I named my file test.swf)
- make a new movie (mainmovie) - create a sprite and in that sprite place a rectangle with no fill just a border - name that sprite : movieloader - place a button and put this action on it : movieloader.loadMovie("test.swf"); Where"movieloader" is the name of the sprite - save that as your main movie and export it too.
done.
Now reopen your mainmovie and open the sprite "movieloader" drag the rectangle inside that sprite to a position you want and you will see that the loaded text will be loaded at the place you have put your rectangle. DO NOT resize your sprite or you will stretch your text file !
You can download the swi files needed for this tut here :
http://users.belgacombusiness.net/cd028113/brol.swi (mainmovie) http://users.belgacombusiness.net/cd028113/test.swi (text file) http://users.belgacombusiness.net/cd028113/test2.swi (image file)
Hope it's clear.
Note that when you are loading some content into level-1 and you are loading another file into that sprite at level-1, the first content will disappear and your second content will be loaded.
Cheers,
Charly
|
|
|
|