Creating a Sprite
|
Top Previous Next |
1. | Open "myfirst.swi"
|
2. | Check that Scene_2 appears in the Scene row on the Timeline Panel. If Scene_2 does not appear in the 'Timeline Panel', select Scene_2 from the Outline Panel
|
3. | Select the ![]() |
4. | From the Shape Panel select the solid line and change the line's width from 1 to 2. Change the line's color to a dark green. Select a solid fill in a light gray. Set the shape name to "window"
|
![]() |
5. | Select the new rectangle then from the Modify Menu, select Convert | Convert to Sprite. A Sprite icon ![]() |
6. | Select the Outline Panel and click on the plus (+) symbol next to the pop-up Sprite to display the Sprite's 'Object' tree
|
The Outline and Layout Panel should look something like this:
|
|
![]() |
![]() |
9. | Select the window object from the Timeline Panel. Click on Frame 2 and press the ![]() |
10. | Select the X Object row from the 'Timeline' Panel and click on Frame 4. Press the ![]() |
11. | From the Insert Menu, select Content. In the 'Open' dialog box, from the 'Files of Type' drop-down Menu, select Plain Text (*.txt) and select "first.txt" from the Samples folder
|
12. | From the Text Panel, change the font size to 11, and the paragraph alignment to ![]() |
13. | On the Timeline Panel, click on Frame 4 in the link 1 Object row, press the ![]() |
14. | Click on Frame 5 in the pop-up Sprite Object row. The ![]() ![]() ![]() |
15. | Press the ![]() ![]() |
16. | Select the window Shape Object from the Timeline Panel and click on Frame 7. Press the ![]() |
17. | Select the X Text Object from the Timeline Panel and click on Frame 7 in the in the X Object row. Press the ![]() |
18. | Select the link 1 Text Object from the Timeline Panel and click on Frame 7 in the in the link 1 Object row. Press the ![]() |
19. | Select the X Text Object from the Timeline Panel, then select the Script Panel. From the 'Script' Panel, press the ![]() |
20. | Press the ![]() |
![]() |
21. | On the 'Timeline' Panel, click on Frame 10 in the pop-up Sprite row. Press the ![]() |
22. | Click on Frame 1 in the pop-up Sprite row. Press the ![]() |
The pop-up Sprite's Timeline should look like this:
|
|
![]() |
![]() |
Advancing one Frame should show the window Object starting the fade in. Advancing to Frame 3 will show the link 1 Text Object and the X Object appear, and at Frame 6 the window Object should start to fade out as the link 1 Text Object and X Object disappear
|
The Outline Panel should look something like this:
|
|
![]() |
![]() |
This Sprite will be controlled from the Movie's main Timeline, and our purpose for grouping and converting this Menu into a Sprite is twofold. Firstly, it will allow you to have this Menu fade in (rather than suddenly appearing after your intro/splash page) as a Sprite, so that you need only apply the Fade In Effect to the Sprite Object rather than applying this Effect to each Object within it. Secondly, this Sprite can be quickly copied and pasted and used later on in the Movie
|