Finally i’ve begun action script with flash. I’ve not seen any difficulty with button scripting and movie clip scripting Even now. But i’m sure there are some untolerateable factors which are coming toward me. But i’ll try my best to get a clear concept on it. Thnx to Mehedy (My friend) to help me by giving a book of it.
My first project contains one scene with a Instruction to click on one button between two. By clicking on one of them, take it to other scene using Action Script. The Script show one label of scene two and become halted.
Simple Action Script of my two Button is below:
For Pink button:
on (release) {
gotoAndStop(“Scene 2 Choice”,”pink”); //goes to label named pink of scene 2 and stop
}
For Green button:
on (release) {
gotoAndStop(“Scene 2 Choice”,”green”); //goes to label named green of scene 2 and stop
}