i m doing a program which contain few text.
When i click a button,‘step 1’ text will be view.
When i second, 'step 2 ’ text will be load out and ‘step 1’ text is still in the stage…
the method i m using is array.i put my text in an arrays…but i face problem with that…pls help me…
So are you trying to unload and make step 1 dissapear when the next button is pressed?
Or are you just trying to load each of them when pressed?
If you are trying to load each of them, you can make the next button a movieclip button with 4 frames that loads the steps on each press :).
no,i not going to unload the previous text
yup,i know to do it with movie clip…
but now what my company want is i do it with actionscript that can save their time
Well in your code for the button - it says curr = 0. That means whenever the button is released, it’s going to be set to 0 so it never get’s to change.
And another thing: S[“curr”] = myStep[curr]; - is a mistake. Thats saying Scurr = myStep[curr];. You can’t use quotes for values. Or brackets ;).
I couldnt get to try it but I’m just pointing out some mistakes for you to fix :thumb:.
sorry…cannot work…
i try out with putting:
myStep[curr]= [“S”+(curr)].text ;
also cannot…
anyone knows?pls help
hope this helps
thank g-shock…u solve my problem…
erh…hehe…i got another question…
how about if i want my text appear 2gether with VO?
can u be more explicit?, i dont undestand.
nevermind g-shock…
i able 2 do already …thankx ya…:p:
no problem