|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Well for the past 5 hours i tried to figure it out myself but that is it i gave up..
I created 4 buttons to do the following example: If i click button A i want to show Info X & If I click button B i want to show Info y ..... and so on I did my buttons fine with the following: on (press) { tellTarget ("usad") { gotoAndPlay(2); } } and the info i did it as a movie with nothing in frame one then asign stop script and i put my info in frame 2 and assign it a stop function and is working fine, as when button A click a i get info X and when I click B i get Y My problem is i want when i click on A i get X and when i click B i get Y but X NEED TO DISAPEAR FROM THE STAGE ![]() Your help is appreciated in advance.. |
|
#2
|
|||
|
|||
|
Code:
on (release) {
tellTarget"usad") {
gotoAndPlay(2);
}
}
on (release) {
tellTarget"usad") {
gotoAndPlay(3);
}
}
put the content in 1 movieClip content x frame 2 contenty frame 3 cheers and not to be a smart as$ but you could use this as well . Code:
myBtn1.onRelease=function(){
_root.usad.gotoAndPlay("2");
};
myBtn2.onRelease=function(){
_root.usad.gotoAndPlay("3");
};
just a thought ! ![]()
__________________
please see my site http://www.f-web.net also tutorials coming soon.. I am for hire .timo@f-web.net Last edited by timothye : January 22nd, 2004 at 09:35 PM. |
|
#3
|
|||
|
|||
|
Thank you sooooooooooooo much. I owe u big time.
The first code worked. I tried the other one but it keep giving me an error that i need a handler !!!!! Many thanks again. ![]() |
|
#4
|
|||
|
|||
|
how to solve this
well after i did all the codes using for button A on (release) { tellTarget ("address") { gotoAndPlay(2); } } and for button B i did the same on (release) { tellTarget ("address") { gotoAndPlay(3); } } and i have one movie with different frames and different information; I found out if they click on A they get the right information from fram 2 but if they click on A again they get the information from fram 3 which should only be assigned for button B. ![]() |
|
#5
|
|||
|
|||
|
i got it
Just if any one interest i solved the prblem:
Insted of using go to and play i used go to and stop ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > help with a Button Please |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|