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 July 28th, 2003, 02:18 PM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
make buttons...do stuff

Hey,

I am new to flash, and am making a basic page

I have three buttons, all of which are instances of one symbol

How would I make a button actually "do something" FOr instance, If the user clicked the button, it would make one page dissapear and another one come out. I have a feeling that this deals with the gotoandplay() funcion, but I'm not sure how to make the animation a whole separate movie clip. I have the .fal(I'm sure it's loaded with mistakes) if anyone would like to take the time to help me out

TIA

Reply With Quote
  #2  
Old July 29th, 2003, 04:33 AM
jamieB jamieB is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2002
Posts: 592 jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 1 h 56 m 16 sec
Reputation Power: 17
have you gone through the inline tutorials & lessons with flash? (in the Help menu) they're very good actually and will really get you started....until you have those basics under your belt a lot of the answers you get via forums may be a bit meaningless to you.....hope this helps

Reply With Quote
  #3  
Old July 29th, 2003, 07:25 AM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I've checked out some basic ones, but maybe I'll see what else I can find. Thanks

Reply With Quote
  #4  
Old July 29th, 2003, 12:54 PM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
My three buttons are movie clips.. When I try and use the onClipEvent, nothing works. I have:

onClipEvent(mouseDown){
gotoAndPlay(35);
}
nada.

I put the goto in a button, and it worked. But I need the button to be a MC.

Reply With Quote
  #5  
Old July 29th, 2003, 02:11 PM
jamieB jamieB is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2002
Posts: 592 jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 1 h 56 m 16 sec
Reputation Power: 17
try
Code:
onClipEvent(mouseDown){ 
_root.gotoAndPlay(35); 
} 

or
Code:
onClipEvent(mouseDown){ 
this._parent.gotoAndPlay(35); 
} 

depending on where your clip is in relation to main timeline....if you are using flash mx it's good to get into the habit of doing this instead:

Code:
//on main timeline
name_of_mc.onMouseDown = function(){ 
gotoAndPlay(35); 
} 

Reply With Quote
  #6  
Old July 29th, 2003, 03:18 PM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I am using Flash MX, and have tried the function call directly from the mc. However, this gives me an error and doesn't work Ah well, the rest of it is messy enough, might as well stick w/ the trend. I havn't gotten a chance to try it yet, but thanks for the input.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > make buttons...do stuff


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 1 hosted by Hostway