karlzoe2
06-23-2002, 11:56 PM
NOT SURE IF I USED THE RIGHT TERM. HERE GOES ANY WAY
i am tyrinh to creat a page with several buttons so that when you click the appropriate button it lshows the appropriate text. eg the NEWS BUTTON would show the news (news headline and article) when it is clicked and the SPORTS BUTTON would show the button when it is clicked.
this is where i am so far....
news = new Array ();
news[0] = "headline news";
news[1] = "this is just a test";
headline.text = news[0];
article.text = news[1];
i have a layer called labels with the following frame names, initialize, refresh and sit
now on the button i have placed the following
on (release) {
I KNOW SOMETHING IS MISSING between the two lines of code
this.gotoAndPlay ("refresh")
}
PROBLEM
my problem is i do not know how to tell the button to get the text and show it in the dynamic text box.
will someone please help me:confused:
i am tyrinh to creat a page with several buttons so that when you click the appropriate button it lshows the appropriate text. eg the NEWS BUTTON would show the news (news headline and article) when it is clicked and the SPORTS BUTTON would show the button when it is clicked.
this is where i am so far....
news = new Array ();
news[0] = "headline news";
news[1] = "this is just a test";
headline.text = news[0];
article.text = news[1];
i have a layer called labels with the following frame names, initialize, refresh and sit
now on the button i have placed the following
on (release) {
I KNOW SOMETHING IS MISSING between the two lines of code
this.gotoAndPlay ("refresh")
}
PROBLEM
my problem is i do not know how to tell the button to get the text and show it in the dynamic text box.
will someone please help me:confused: