Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Mac Menu

This is a discussion on Mac Menu within the FlepStudio utilities forums, part of the Tutorials category; Exactly what i need! Thanks a lot! But it doesnt "play" ?!? Not in the preview and not as a swf. ...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Tutorials > FlepStudio utilities

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #31 (permalink)  
Old 25-08-08, 18:36
Junior Member
 
Join Date: Aug 2008
Posts: 4
Rep Power: 0
pinguwin is on a distinguished road
Re: Mac Menu

Exactly what i need! Thanks a lot!
But it doesnt "play" ?!?
Not in the preview and not as a swf. Does it work on your pc?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #32 (permalink)  
Old 25-08-08, 20:51
Onsitus's Avatar
CSS.FlepStudio.org
 
Join Date: Jul 2007
Location: Nettuno Beach
Posts: 1,012
Rep Power: 3
Onsitus is on a distinguished road
Re: Mac Menu

Quote:
Originally Posted by pinguwin View Post
Exactly what i need! Thanks a lot!
But it doesnt "play" ?!?
Not in the preview and not as a swf. Does it work on your pc?
Works fine for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #33 (permalink)  
Old 28-08-08, 16:57
Junior Member
 
Join Date: Aug 2008
Posts: 4
Rep Power: 0
pinguwin is on a distinguished road
Re: Mac Menu

It also told me that there is no definition for the class and it would be generated as swf...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #34 (permalink)  
Old 11-09-08, 22:49
Junior Member
 
Join Date: Sep 2008
Posts: 1
Rep Power: 0
Lexicon is on a distinguished road
Re: Mac Menu

Hi!

And thanx, this is really cool!

Is it possible to add tooltip text to this when you go over the object?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #35 (permalink)  
Old 24-09-08, 05:30
Junior Member
 
Join Date: Sep 2008
Posts: 2
Rep Power: 0
babboor is on a distinguished road
Re: Mac Menu

I want to use this nice menu, but instaed of linking to web pages I would like to link to other frames in the same flash file.

I left the menu in the first frame "f0" and extended it to frame "f10". The frame labels are "f0" representing the main page and "f1" "f2" .... "f10", each contains an image.

In the file Main.as the links take me to web pages (see script below). How can i get it to take me to frames f1 f2 f3 f4 f5 f6 f7 f8 f9 and f10 instead of 'http://www.flepstudio.org/'?
Code:
 icons_array=new Array(menu_mc.icon_0_mc,menu_mc.icon_1_mc,menu_mc.icon_2_mc,menu_mc.icon_3_mc,menu_mc.icon_4_mc,menu_mc.icon_5_mc,
menu_mc.icon_6_mc,menu_mc.icon_7_mc,menu_mc.icon_8_mc,menu_mc.icon_9_mc);

url_array=new Array('http://www.flepstudio.org/','http://www.flepstudio.org/','http://www.flepstudio.org/','http://www.flepstudio.org/','http://www.flepstudio.org/',
'http://www.flepstudio.org/','http://www.flepstudio.org/','http://www.flepstudio.org/','http://www.flepstudio.org/','http://www.flepstudio.org/');
It is a very nice menu Flep and i would really like to use it.
Thanks in advance.

Babboor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #36 (permalink)  
Old 24-09-08, 05:46
Onsitus's Avatar
CSS.FlepStudio.org
 
Join Date: Jul 2007
Location: Nettuno Beach
Posts: 1,012
Rep Power: 3
Onsitus is on a distinguished road
Re: Mac Menu

Here,
http://www.marcellosurdi.name/2008/09/14/dock-menu-actionscript-3/
you can find an example based on the macmenu created by an Italian user with the frame control.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #37 (permalink)  
Old 24-09-08, 05:50
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,489
Rep Power: 6
Flep is on a distinguished road
Re: Mac Menu

Hi babboor,
you must use the id of each button.

Your new setDown function in Main.as :
Code:
private function setDown(evt:MouseEvent):void
{
	switch(evt.target.id)
	{
		case 0:
			gotoAndPlay("f1");
		break;
		
		case 1:
			gotoAndPlay("f2");
		break;
	}
}
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #38 (permalink)  
Old 24-09-08, 21:42
Junior Member
 
Join Date: Sep 2008
Posts: 2
Rep Power: 0
babboor is on a distinguished road
Re: Mac Menu

Thanks a milion for trying to show me how to change the script. I forgot to tell you that scripting on this level is probably harder for me than trying to read chinese.

My knowledye is very very very basic, and to be honest, I do not know what to do with the little script you gave me.

But I have to say, that f1 f2 f3 f4 f5 f6 f7 f8 f9 and f10 (which hold either images or text or both) are located on the main time line where the dock is located. The dock is a movie clip with instance name "menu_mc" and inside that movie clip are the indivdual movie clips (which I thought would be buttons) this makes it more difficult for me to understand the script and harder for me to handle it. I usually play/modify existing script to adjust a flash file to my requirment, but this Mac Menu script I have to say is way beyond my scope.

But here is what I did, and I was surprised you did not include an event handler in the little script you wrote in your reply. AND there is already a function called setDown which I asume I need to remove it.

Code:
private function setDown(evt:MouseEvent):void
{
    switch(evt.target.id)
    {
        case 0:
            gotoAndPlay("f1");
        break;
        
        case 1:
            gotoAndPlay("f2");
        break;
        
        case 2:
            gotoAndPlay("f3");
        break;
        
        case 3:
            gotoAndPlay("f4");
        break;
        
        case 4:
            gotoAndPlay("f5");
        break;

        case 5:
            gotoAndPlay("f6");
        break;

        case 6:
            gotoAndPlay("f7");
        break;
        
        case 7:
            gotoAndPlay("f8");
        break;
        
        case 8:
            gotoAndPlay("f9");
        break;
        
        case 9:
            gotoAndPlay("f10");
        break;
        }
}
I could do with more help if it is not too much bother to you. I attach my files in case you felt like helping me up with this.

My best regards and apreciation,

Babboor
Attached Files
File Type: zip BabboorMacMenu.zip (254.5 KB, 6 views)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #39 (permalink)  
Old 29-09-08, 10:46
Junior Member
 
Join Date: Jun 2008
Posts: 2
Rep Power: 0
acenla is on a distinguished road
Re: Mac Menu

I love mac and i love this menu! thank you! Muchas Gracias! Salamat! She She!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #40 (permalink)  
Old 10-10-08, 13:02
Junior Member
 
Join Date: Oct 2008
Posts: 1
Rep Power: 0
ryanc_70 is on a distinguished road
Re: Mac Menu

Hi, I just need a little help, i am using the mac menu as a navigation for a flash portfolio of mine, but i need to add a specific function to the script. Basically i need the buttons to move another movie clip on root of the flash document a specific number of x pixels left or right. any help would be greatly appreciated.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Tags
MAC, menu

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 20:18.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406