I have just started to use flash. I wrote a game but I want to add menu where we can chose how many players will play. How to do it? I have tried create one scene with menu and creates buttons and in button action Script:
on (press){
_root.gotoAndStop('Game',1)
}
//game is name of the scene where is engine of my game But al开发者_JAVA百科l the time I have an syntax error. To sum up:
- How to create this kind of menu/front page of my game and how to past a variable to another stage.
- Is better to use frames or stages?
Thanks
精彩评论