Adding Navigation

From EGMSWiki

Jump to: navigation, search

Contents

Topic summary: Learn about Flash symbols and how to make an interactive button in Flash that will let the viewer navigate between the different scenes of your game idea.


Topic Assignments

Creating an interactive button in Flash

Read the Overview of Flash Symbols.


Watch how to make an interactive button in Flash tutorial.

Watch this clip to learn how to add navigation buttons to your game scenes.



Download the Flash file (.FLA) used in this clip: Button Tutorial.FLA

Here is the code used to navigate between scenes:

stop();

Button_Name1.onRelease = function() {
      gotoAndPlay("*scene name*");
}

Button_Name2.onRelease = function() {
      gotoAndPlay("*scene name*");
}

Replace each *scene name* (including the asterisks) with the name of the scene you want to jump to.


Update the Wiki

  • Upload the assets (.SWF and .FLA) you created to your Team page if you are working on a Team game, or to your "My Projects" page if you are working alone.


Update the Blog

  • Write about this topic? Was it hard? Fun? Both?
  • Find a video online to embed on your blog dealing with your game topic. Why did you choose this video?

Comment on a blog post written by one of your classmates!



After you finish these assignments, continue to the Adding Animation topic.


Related Links and Tutorials


Search the Web for more information

Here are some search results on Flash Symbols and Buttons:


Image:Icons-mini-icon_user.gifImage:Icons-mini-icon_user.gifImage:Icons-mini-icon_user.gif Students Contributions

Personal tools