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
1603
Pending tutorials
80
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 1603 tutorials) on www.tutorial4me.com. Go to home page.

 
 

 

Untitled Document
 
 
 
  Using CSS Styles in Flash - Using CSS Styles in Flash  
Rating: | 276 Hits
 
  Brushed Steel Interface - Brushed Steel Interface with Glass Button in Photopaint v12  
Rating: | 1070 Hits
 
  Create Text Shadows in CorelDraw - Create Text Shadows in CorelDraw  
Rating: | 386 Hits
 
  Video Tutorial on Creating 3D pipes - Video Tutorial on Creating 3D pipes in Illustrator  
Rating: | 503 Hits
 
 
  Bubble Menu - Here is the new menu of our Menu marathon. This one has bubbles. It's so easy, so try it.  
Rating: | 5710 Hits
 
  Rotating Menu - Perfect Navigation Menu for your new flash site. It's menu with rotating links. It's easier than you think...  
Rating: | 5450 Hits
 
  Sticking Out From Picture - Tutorial on how to create a 3D pop-out photo  
Rating: | 3222 Hits
 
  Learn to draw - Learn to draw and trace in Macromedia Flash. Very easy tutorial for everybody.  
Rating: | 2417 Hits
 
 
 

  Tutorial Quest : Design and Coding Tutorial Directory

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