|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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 |
|
#2
|
|||
|
|||
|
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
![]() |
|
#3
|
||||
|
||||
|
I've checked out some basic ones, but maybe I'll see what else I can find. Thanks
![]() |
|
#4
|
||||
|
||||
|
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. |
|
#5
|
|||
|
|||
|
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);
}
|
|
#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. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > make buttons...do stuff |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|