Author: Chumpitas
Date released: 04/18/2007
Name: Flash site #2
Making your own flash site. Second tutorial of how to make 100% complete flash site.
 

[Flash] Tutorial #7 - Flash site #2

 
 

Software: Macromedia Flash
Time: 30 minutes

Download finished .fla file

Seeing that you liked our flash site tutorial, we decided to write few more tutorials about how you can make 100% complete flash site.

 

1. First, open new flash file. Size and background colour depend on your background picture. Frame rate should be 24.

 

2. Insert background picture.

 

bg02.jpg

 

3. Lock layer with background picture and add new layer.

 

4. On new layer, add text for links. Every link separately.

 

02.jpg

 

5. Convert all links to buttons. (F8)

 

03.jpg

 

6. Add new layer.

 

7. Draw black square and convert it to Movie Clip with "window" name. Also, set instance name on “window”

 

04.jpg

05.jpg

01.jpg

 

8. Double click on black square to go in to Movie Clip "window".

 

9. Select black square again and convert it again to Movie Clip

06.jpg

10. Select black square again and set alpha on 30%

07.jpg

11. Expand layer to frame 35 (F6)

08.jpg

12. On first first frame transform square like this

09.jpg

13. Set motion tween on layer

10.jpg

14. Add new layer and on 35 th frame add text and picture for link #1.

11.jpg

12.jpg

 

15. Add one more layer for actions. On 35 th frame create blank keyframe and in actionscript window write stop(); script.

13.jpg

16. Select 1 st frame of action layer and name it to “link 01”.

14.jpg

16. Select all frames and layers on stage:

15.jpg

17. Copy all frames:

16.jpg

18. Select 36 th frame for all layers and do Paste:

17.jpg

19. On 36 th frame on action layer, change Frame name to “link 02”

18.jpg

20. On 70 th frame and second layer change content for 2 nd link:

19.jpg

21. Repeat steps 16. – 20. for other links (link 03, link 04 or how much links you want). For 3 links at all you should have:

20.jpg

22. One more time repeat steps 16. – 20. but this time set Frame name (step 19) to “stop”

21.jpg

23. In “stop” section delete all from 2 nd layer (layer with content for pages)

22.jpg

24. Drag 106 th frame from layer where is background and drop it on last frame.

23.jpg

24.jpg

25. Make motion tween on stop section.

25.jpg

 

26.jpg

26. On 140 th frame on action layer add this code:

stop();

if (_root.link == "link01") {

gotoAndPlay ("link01");

}

if (_root.link == "link02") {

gotoAndPlay ("link02");

}

if (_root.link == "link03") {

gotoAndPlay ("link03");

}

27.jpg

27. Go back to root. Select first link text:

28.jpg

28. Add script in actionscript window:

on (release){

_root.window.gotoAndPlay("stop");

link = "link01";

}

29. Do the same for all other links just change number of link (for 2 nd link is link=”link02”;)

on (release){

_root.window.gotoAndPlay("stop");

link = "link02";

}

 

on (release){

_root.window.gotoAndPlay("stop");

link = "link03";

}

30. On root on 2 nd layer add just one line in actionscript window:

30.jpg

31. That’s it….your second flash site I over.

32. If you have more experience, add few more things….this is my final result.

 

 

 

 
Untitled Document

Links:


Donate, and help us to exist.

 


33. If you have some questions about this tutorial, please contact me: chumpitas@gmail.com