Untitled Document
Advertise on Tutorial4Me Home Page Submit Your Tutorial Home Page
Untitled Document
Tools
  Submit tutorial
Pending list
Highest rated tutorials
Most viewed tutorials
Advertise
Contact Us
 
    3d Studio Max
    Adobe Photoshop
    Macromedia Flash
    Adobe Illustrator
    Corel Draw
    PHP
    HTML
    CSS
    JavaScript
 
    0tutor.com
    Broderjakob.se
    Cartoonsolutions.com
    Tu-world.com
    Codecall.net
    Tech-faq.com
    Phptoys.com
    Partdigital.com
    Blizaga.com
    Techtut.com
    Abduzeedo.com
    Swfspot.com
    Combined-minds.net
    Originalflash.com
    Flashvault.net
    Webzo.org
    Oman3d.com

 

 

 

 

Untitled Document
 
 

 
   
Tutorials in base
1846
Pending tutorials
20
Categories
113

 

Untitled Document
 

 

Rotating Menu

1. Open new document in flash, size 400*300, fps = 50, background black.

2. IMPORTANT - On Publish Settings (Ctrl + Shift + F12), on Flash part, set Flash Player version on Flash Player 6, or this movie will not work.

3. Write links (in this case I'll write 7) one by one, not in one text box.

4. Select all links and align it to the left.

5. Convert all links to Buttons, one by one.

6. Write actionscript for every button.


*put your own adress for every button instead of www.tutorial4me.com

7. Now, again, convert all links, but now in to Movie Clips (F8). Not in one Movie Clip, in 7 Movi Clips, one by one.

8. On root stage, add on every Movie Clip actionscript.

1st Link:

onClipEvent (load) {
hx = 300/2;
hy = 400/2;
r = 100;
a = 30;
function speed(num) {
speedX = -(_root._xmouse-hx)/num;
return speedX;
}
function trans() {
p += speed(40);
range = ((p+72)*Math.PI)/180;
re1 = ((Math.sin(range))*r);
re2 = ((Math.cos(range))*a);
}
function property() {
trans();
_x = hx+re1;
_xscale = _yscale=_alpha=re2+70;
this.swapDepths(_alpha);
}
}
onClipEvent (enterFrame) {
property();
}

2nd Link:

onClipEvent (load) {
hx = 300/2;
hy = 400/2;
r = 100;
a = 30;
function speed(num) {
speedX = -(_root._xmouse-hx)/num;
return speedX;
}
function trans() {
p += speed(40);
range = ((p+144)*Math.PI)/180;
re1 = ((Math.sin(range))*r);
re2 = ((Math.cos(range))*a);
}
function property() {
trans();
_x = hx+re1;
_xscale = _yscale=_alpha=re2+70;
this.swapDepths(_alpha);
}
}
onClipEvent (enterFrame) {
property();
}

and every nex Link is the same, just add 72 on this row:

range = ((p+144)*Math.PI)/180;

1st link is 72
2nd is 144
3rd is 216
4th is 288
5th is 360
6th is 432
7th is 504
ect...

9. OK, you just finished your rotation menu. Test your movie now. You can change button styles if you want.

10. Test our buttons.

11. Search our big tutorial database (right now we have 1846 tutorials) on www.tutorial4me.com. Go to home page.

 
 

 

Untitled Document
 
 
 
  Building demolition in 3ds max 7 - In this video you will learn how to (1)convert building mesh to particles with Cebas thinking...  
Rating: | 898 Hits
 
  Edge Chamfering - In this tutorial I will explain edge chamfering and show you how to create really nice smooth...  
Rating: | 1051 Hits
 
  Lego Block - Make a Lego block with the use of the Extrude and Bevel function  
Rating: | 994 Hits
 
  Panoramas - With the technology there is today in digital photography, making huge pictures with digital stitching software is surpr  
Rating: | 906 Hits
 
 
  Tutorial: Display your images from MySQL using PHP - Display image stored in MySQL using PHP.  
Rating: | 11470 Hits
 
  Creation of captcha - Secure forms - Creating Captcha using secure forms.  
Rating: | 10965 Hits
 
  Rotating Menu - Perfect Navigation Menu for your new flash site. It's menu with rotating links. It's easier than you think...  
Rating: | 9164 Hits
 
  Bubble Menu - Here is the new menu of our Menu marathon. This one has bubbles. It's so easy, so try it.  
Rating: | 8631 Hits
 
 
 

  Tutorial Quest : Design and Coding Tutorial Directory

 
 
www.tu-world.com
 
Untitled Document
Tutorial4Me.com @ 2007 | Submit tutorial | Advertise | Contact Us |