IBM developerWorks
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 1st, 2003, 10:12 AM
go_racecar go_racecar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 4 go_racecar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
need quick help with button

Hi, I've been using flash mx for quite some time on just animating and a friend of mine just asked me to make a flash based website similar to URL I know how to make simple buttons like mouse over lights up or something, and direct to url and stuff but i want the button so when you click on it, a menu drags out like the website URL


thanks

Reply With Quote
  #2  
Old August 1st, 2003, 11:58 AM
muppet muppet is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 7 muppet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
To do this you must create a new movieclip. In the movieclip create the button, the animation of the menu opening, the open menu state with all the menu buttons, and the antimation of the menu closing. (in this order)

Label the first frame of each animation eg: "closed", "opening", "open", "closing". Put a stop() at the last frame of the "closed" and "open" animations. Now assign mouseclick actions to the main button in "open" and "closed" animations so that it redirects the timeline to the begining of the desired animation.

In the 'closed' animation assign:
on (release) {gotoAndPlay("opening")};

In the 'open' animation assign
on (release) {gotoAndPlay("closing")};

This will make the menu expand and collapse, for the buttons in the menu, just do what you were doing before just be sure to have the actions for them in the "open" animation.

Reply With Quote
  #3  
Old August 1st, 2003, 02:50 PM
go_racecar go_racecar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 4 go_racecar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
action script looks interesting, is there a website to learn about it?

Reply With Quote
  #4  
Old August 2nd, 2003, 07:58 PM
go_racecar go_racecar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 4 go_racecar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
by the way, movieclip meaning new scene?

Reply With Quote
  #5  
Old August 4th, 2003, 05:08 PM
blatant's Avatar
blatant blatant is offline
World Domination
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: San Diego
Posts: 126 blatant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 17 sec
Reputation Power: 6
Send a message via AIM to blatant
no, a movie clip is an object within a scene. Read the flash help. There's also a tutorial dealing with movie clips under help.

Reply With Quote
  #6  
Old August 4th, 2003, 09:08 PM
go_racecar go_racecar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 4 go_racecar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by muppet
Now assign mouseclick actions to the main button in "open" and "closed" animations so that it redirects the timeline to the begining of the desired animation.


how would i do that? and also i get this error trying to do the steps above,

Symbol=Symbol 1, Layer=Layer 1, Frame=1: Line 1: Mouse events are permitted only for button instances
on (release) {gotoAndPlay("opening")};

Last edited by go_racecar : August 5th, 2003 at 02:22 PM.

Reply With Quote
  #7  
Old August 6th, 2003, 07:19 PM
blatant's Avatar
blatant blatant is offline
World Domination
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: San Diego
Posts: 126 blatant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 17 sec
Reputation Power: 6
Send a message via AIM to blatant
you can make a movie clip act like a button once you place it on the stage. In the properties window, on the far left there is a drop down, change it to button. That should fix your error.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > need quick help with button


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway