I need to create a scene or a frame with a button.
When I click on the button the Game should start to play.
Since I am not able to upload the file please use this below link to access the FLA file
This is What I did:
I tried 1 space on the 1st key frame It didn’t work.
I also made a new scene created a button gave a action-script (go to) It didn’t work.
When I created the button (action-script go to next frame or next scene) and modifying the frame number in the action-script on the actual game key frames.
This is the Problem I am facing:
It doesn’t go to the last frame of the game (Last Frame - Click to play again)
My level in action-Script (Beginner- intermediate)
Thanks for the reply & thank you very much for helping me. I am sorry for late response we lost the power supply I am sure you would have heard about Major Blackout.
please don’t KILL ME. I am sorry to mention I think my explanation was not correct. I really like to apologize.
What I really wanted to do is create a CLICK HERE START TO PLAY BUTTON before the game.
I know the there is "click here to play again” frame,
Can you please try again the link. I think now the link works.
Step 1
Basically I want to create a button. The Button should say Click to Play the GAME (before the game)
So when Click on the Button — Step 2
Step 2
The Game should start playing.
I have done the step one But the game does not play good.
That is if you miss the ball in the game it does not go the last frame (play again)
In The original game(before making the button):
When you miss the ball it goes to last fame (play again).
This Is What I tried:
I tried 1 space on the 1st key frame created a button gave a action-script go to next frame – It didn’t work.
I also made a new scene created a button gave a action-script go to next scene – It didn’t work.
I am sorry for some reason I am not able to the load the working file (FLA).
I know you spent lot of time on this, once again i apologize. please try to help me if you can.
and when I test the movie and let the ball hit the bottom, nothing is traced. Which means that it doesn’t gotoAndStop(5). Which is probably the bug. But why !?
I fixed it ! Finally I got that little bug to die. I’ll explain what the problem was later cuz I ain’t got much time now. I’m uploading the fla as we speak. I’ll edit this post as soon as it’s done.
*Just popped into my mind: the original code isn’t perfect, causing the ball to fly through the walls sometimes. I got a fix for that too, I’ll attach the same Fla but with the walls fixed later.