asitshould
11-24-2002, 09:44 PM
I have three buttons on the stage that are supposed to attach three seperate (one for each button) movie clips onto a blank movie that has the instance name content .
The Linkage Identifiers for the movie clips are ex_home, ex_services, and ex_benefits.
Each of the movies that are supposed to be attached consist of a dynamic text field that is full of text and each has a a scroll bar companent that was automatically setup in MX. The dynamic text fields do not have variables associated with them.
The code for the buttons looks like this:
on (release){
content.attachMovie("ex_home", "home1", 1);
}
on (release){
content.attachMovie("ex_services", "services1", 1);
}
on (release){
content.attachMovie("ex_benefits", "benefits1", 1);
}
As far as I know, when each button is released, the new movie should take the place of the old one because thay are assigned the same depth. What happens is: when the movie starts, I press the Home button, and the correct thing happens. Then I press the Services button, and the correct thing happens. Then I press the Benefits button, and i continue to see the text for Services. I also found that If I press the Benefits button before the Services button, I will get the Benefits text when I press Services button afterword.
No matter what, when I press the Home button, I always get the correct information. The home button is a unique shape from the rest of the buttons, so there is one library symbol for all of the buttons except the Home button, which has its own symbol. I tried creating duplicates for the other buttons so each button would be unique, but that had no effect.
So my question is, can someone help me figure out a way to make it so that each button released causes the correct information to appear, no matter what order they are pressed in?
Thank you very much,
Dave
The Linkage Identifiers for the movie clips are ex_home, ex_services, and ex_benefits.
Each of the movies that are supposed to be attached consist of a dynamic text field that is full of text and each has a a scroll bar companent that was automatically setup in MX. The dynamic text fields do not have variables associated with them.
The code for the buttons looks like this:
on (release){
content.attachMovie("ex_home", "home1", 1);
}
on (release){
content.attachMovie("ex_services", "services1", 1);
}
on (release){
content.attachMovie("ex_benefits", "benefits1", 1);
}
As far as I know, when each button is released, the new movie should take the place of the old one because thay are assigned the same depth. What happens is: when the movie starts, I press the Home button, and the correct thing happens. Then I press the Services button, and the correct thing happens. Then I press the Benefits button, and i continue to see the text for Services. I also found that If I press the Benefits button before the Services button, I will get the Benefits text when I press Services button afterword.
No matter what, when I press the Home button, I always get the correct information. The home button is a unique shape from the rest of the buttons, so there is one library symbol for all of the buttons except the Home button, which has its own symbol. I tried creating duplicates for the other buttons so each button would be unique, but that had no effect.
So my question is, can someone help me figure out a way to make it so that each button released causes the correct information to appear, no matter what order they are pressed in?
Thank you very much,
Dave