STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229494
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2575 · P5149

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/13486394?noj=FRM13486394-14DC" width="1" height="1"></div>

RPGmap interface tutorial.swf

This is the info page for
Flash #40530

(Click the ID number above for more basic data on this flash file.)


Text
Loading

This tutorial covers the process of making an RPG
map. The codes are slightly different than most of
the other RPG-tutorials out there, you might find
this easier to expand. Check it out :)

Topics:
1. Movement
2. Scrolling
3. Cosmetics
4. Objects
*. Sample map

In this tutorial we will cover the coding of a basic RPG
map. What we're talking about here is:
- a large, 2D environment with obstacles
- a screen that scrolls around the map while the
protagonist traverses in the environment

Looks neat, doesn't it? This tutorial will teach the standard
scrolling of your map and its objects, as well as decorating
the atmosphere of the game.

Basically, we're trying to create something like this:

Click here to try the
finished product

Table of Contents

1. Set your protagonist (movement)
2. Create your map (obstacle)
3. Scrolling the map
4. Creating Objects/Interactives
5. Cosmetics

First of all, let's create an
object that represents the
main character.
A simple circle movie clip
will do.

1. Draw a perfect circle (hold down shift)
2. right click the circle, click "Convert to Symbols"
3. choose "Movie Clip"
4. name it "hero", press OK
5. double click the movie clip, and make sure the object is aligned
to the center of the screen.

Chapter 1: Setting your protagonist

Now that we have the symbol, let's code it so
that it can move around.

1. Right click the hero clip,
choose "actions.
2. inside the action tab,
implement the following
code: (next page)

this here is your "hero" clip, it will move across the map.

<p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">onClipEvent(enterframe){</font></p><p align="left"></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">if(Key.isDown(Key.DOWN)){</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">if(Key.isDown(Key.UP)){</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">if(Key.isDown(Key.LEFT)){</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">if(Key.isDown(Key.RIGHT)){</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p><p align="left"><font face="Times New Roman" size="14" color="#000000" letterSpacing="0.000000" kerning="0">}</font></p>

*you may copy and paste the
code at the right*

For this example, we will just
stick with 4. But if you are an
experienced coder, you can
set a movespeed variable at
frame 1

If you are doing this right, you should end up with this:

voila, a circle that moves with arrow keys

(Use arrow keys to move)

How does the code work?
(feel free to skip this part)

OnClipEvent(enterFrame){
if(Key.isDown(Key.DOWN))
this._x += 4
this._x -= 4;
this._y += 4;
this._y -= 4;

when you enter the frame with the movie clip in
it, execute the following actions:

if a key is pressed (in this case, the down arrow key)

adds 4 to the x-coordinate of the object
subtracts 4

similar reasoning
NOTE: y coordinate is inversed in flash

The animation of the character will be covered in
Chapter 5. All we're doing right now is adding a
simple code to your hero clip.
What's next? We need a map, a terrain for the
hero to traverse around.
Let's move on to Chapter 2 - Create your map

We need to draw a simple terrain for our hero
to tread on. Don't spend too much time
decorating it, just use the paint brush tool and
brush out a maze, like this one:

Chapter 2: Create your map

this is what we are aiming at:
Don't worry, we will go in detail soon

use arrow keys to move!

we can create this versatile environment with a few alteration
of the movement code:
But first things first, let's
convert our background
into a Movie Clip.

right click our doodle and
convert to symbol.
Name it anything you want,
I'd use "background"

with the background symbol on the stage, select it. Under the
properties tab, name it "BG"
note that this is not the movie clip name, but the name of the
symbol that is currently on the stage.

now go back to the hero symbol,
and paste the following code in our
red circle:

<p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent(enterFrame){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(Key.isDown(Key.DOWN)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.BG.hitTest(_x, _y + 5, true)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(Key.isDown(Key.UP)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.BG.hitTest(_x, _y - 5, true)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(Key.isDown(Key.LEFT)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.BG.hitTest(_x - 5, _y, true)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(Key.isDown(Key.RIGHT)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.BG.hitTest(_x + 5, _y, true)){</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p>

What did we do?

The code changed from:

if(Key.isDown(Key.DOWN)){
if(_root.BG.hitTest(_x, _y + 5,  true)){
this._y += 4;
}
else
;
}

if(Key.isDown(Key.DOWN)){
this._y += 4;
}

To

hitTest detects if any part of the two movie clips are overlapping
each other. If they are, it returns true.
so:
if(_root.BG.hitTest(_x, _y,  true)){
this._y += 4;
}
means that:
if clip BG(our background) touches the x co-ordinates and y co-
ordinates of our clip, we move as usual
taking advantage of this...

if(Key.isDown(Key.DOWN)){
if(_root.BG.hitTest(_x, _y + 5,  true)){
this._y += 4;
}
else
;
}

When the DOWN key is pressed:
if BG still touches 5 units below the y
co-ordinates of hero clip.
we move the hero
else, if it BG doesn't exist 5 units below
_y of hero, the hero does not move.
in other words, if there aren't any more
terrain from the direction that we are
going, we stop.
this is a simple code that omits the use
of walls.

_y

_y + 5

how good can an RPG be if the whole
map is already on the screen?
A great deal about RPG maps is the
unknown factor of the map and how the
player can explore it. This is why we
need scrolling - so only one part of the
map will be visible to us at a time.

Chapter 3: Scrolling the map

use arrow keys to move

a maze!

how did we do this? Let's talk about the concept of this
first.

We created four "grids" on the stage, when our hero hittests
the "grid", the map moves instead of the hero. So in a way,
we are traversing the map.
This adds an element of interaction to the RPG, as well as
being downright awesome.

Let's create the grids:

use the rectangle tool and draw a rectangle
it doesn't need to be as stylish as mine, just a regular
rectangle will do.

also make sure its
dimensions are clean.
A good dimension is
100 x 10.

convert it to a symbol
call it "grid"

hero

gridUP

Align four grids
centering the hero
clip. Looking
somewhat like this.

gridDOWN

gridLEFT

gridRIGHT

name these objects
according to what
I've listed.

The grid itself doesn't need any code, but we are going to alter
the hero clip's code once again. This is its new code:

<p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.DOWN)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x, _y+5, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(2);</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.UP)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x, _y-5, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(1);</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.LEFT)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x-5, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(3);</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.RIGHT)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x+5, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(4);</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridUP.hitTest(_x, _y-20, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._y += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridDOWN.hitTest(_x, _y+20, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridRIGHT.hitTest(_x+20, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridLEFT.hitTest(_x-20, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._x += 4;</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="7" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p>

you will probably need
ctrl+a and ctrl+c to copy
this

as you can see, we added four more statements to
the bottom.

if (_root.gridUP.hitTest(_x, _y-20, true)) {
this._y += 4;
_root.BG._y += 4;
}
means that:
if hero is 20 units distance away from UP grid, the hero
moves downward at the speed of 4, while the background
moves downward at the speed of 4.
So coupled with the earlier Key.isDown statement, the
hero doesn't move, and the background is scrolled.

change the alpha
values of the grid
to 0%, so we won't
see them on the
screen.

The problem:
we want to place an object in the map, we need to scroll it
when the map is scrolling. This could be a door, a chest, a
monster, an exit point, or a spot that triggers an event.
The Approach:
whenever the map the scrolling, we set a variable to true.
When that variable is true, the item moves as well.

Chapter 4: Creating Objects

notice how the blue
halo moves with the
map

We need a global variable, something that all the symbols on
the stage can refer to. We can create this global variable on our
frame:
Right click your frame and select "actions"

paste this line of code in the on
the frame's action script:

<p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">moveRight = false;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">moveLeft = false;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">moveUp = false;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">moveDown = false;</font></p>

This is our new code
in the hero clip:
again, use ctrl+a and
ctrl+c to copy it.

<p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.DOWN)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x, _y+5, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(2);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.UP)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x, _y-5, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(1);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.LEFT)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x-5, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(3);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.RIGHT)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.BG.hitTest(_x+5, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(4);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridUP.hitTest(_x, _y-20, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._y += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveUp = true;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveUp = false;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridDOWN.hitTest(_x, _y+20, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveDown = true;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveDown = false;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridRIGHT.hitTest(_x+20, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveRight = true;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveRight = false;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (_root.gridLEFT.hitTest(_x-20, _y, true)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.BG._x += 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveLeft = true;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">_root.moveLeft = false;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p>

We're not done yet, let's draw an object:

In this example I will use this chest.
Convert your object to a symbol, name it
anything you want.

now insert the following code into your Object

<p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent(enterFrame){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.moveLeft == true){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">this._x += 4;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.moveUp == true){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">this._y += 4;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.moveDown == true){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">this._y -= 4;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">if(_root.moveRight == true){</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">this._x -= 4;</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="11" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p>

When moveLeft is true:
this object moves right.
Meaning that it will scroll along with
the map.
The greatest thing about this style is
that you can have as many objects
as you want on the stage, with the
same code.

how many
chests can you
find?

If your map isn't working, make sure that:
- you set the global variables in the same frame
with the map
- you pasted the code for the hero and the item
- you converted the item to a symbol
- you copied all the code (the code for the hero
clip is so long that it reaches below this screen.

In this section we will cover the use of real
sprites/drawings for your hero. Because a
giant red ball is ugly as hell.

Also, using the same mechanics, we'll be
drawing a real map.

Chapter 5: Cosmetics

We're still going to keep the red ball clip, because
it is a representative of what is really happening.
The cosmetics are just movie clips following the
main red ball clip:

Use arrow keys to
move around, and you
will see what I'm
talking about.

Our hero sprite has two characteristics:

- it follows the hero clip
- animation changes according to
what keys are pressed

In detail:

"walk up" animation when UP is pressed
"walk down" animation when DOWN is pressed
"walk left" animation when LEFT is pressed
"walk right" animation when RIGHT is pressed
"standing" animation when nothing is pressed

Try it!

I've overcomplicated a few things on the real sprite,
including diagonal movement and facing directions.
But let's keep it simple for now.

1. Name your main red ball on stage "hero"
so you can refer to it when coding your sprite.
2. Create three(or four) movie clips, indicating
movement in verical and horizontal directions.

East

North

West

South

12345678

Create a movie clip
called ROOT. This
movie clip will contain
all four walking
directions of your
hero, and all four
facing directions of
your hero when
standing still.

Mouse over these frames to see

On the root object, paste
the following code:

<p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (load) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 1;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (enterFrame) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._x = _root.hero._x;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this._y = _root.hero._y-30;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if (Key.isDown(Key.DOWN)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 2;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(4);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else if (Key.isDown(Key.UP)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 1;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(2);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if (Key.isDown(Key.LEFT)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 3;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(6);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if (Key.isDown(Key.RIGHT)) {</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">facing = 4;</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(8);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">} else { //if no buttons are pressed, he stands still</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">if(facing == 1)</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(1);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if(facing == 2)</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(3);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if(facing == 3)</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(5);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">else if(facing == 4)</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">this.gotoAndStop(7);</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"><font face="Times New Roman" size="8" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p>

Code explanations:

onClipEvent (load) {
facing = 1;
}

When the clip is loaded:
we set a local variable named facing.
The facing number determines which
direction the character is facing.
1 UP 2 DOWN 3 LEFT 4 RIGHT
The x co-ordinates and y co-
ordinates will be the same as the
hero's co-ordinates. (with a slight
alteration on the y-axis)

this._x = _root.hero._x;
this._y = _root.hero._y-30;

if (Key.isDown(Key.DOWN)) {
facing = 2;
this.gotoAndStop(4);
} else if
(Key.isDown(Key.UP)) {
facing = 1;
this.gotoAndStop(2);
...
etc

If the DOWN key is pressed
set facing number to 2 (left)
this clip goes to frame 4.
else, if DOWN key isn't pressed
set facing number to 1 (up)
this clip goes to frame 2.
...
etc

} else {
if(facing == 1)
this.gotoAndStop(1);
else if(facing == 2)
this.gotoAndStop(3);
else if(facing == 3)
this.gotoAndStop(5);
else if(facing == 4)
this.gotoAndStop(7);
}

else if none of the above situations
are happening (no buttons are being
pressed)
we decide which frame to stop
depending on the facing variable

If your code isn't working, check:
1. did you name the red ball symbol on stage "hero"?
2. does your root sprite has all 8 frames corresponding to
several pages back?
3. did you place the red ball symbol on the stage?

If done right, we can relate the hero sprite to this:

Set their alpha to 0%

Our background needs some work as well
At the moment it's rather ugly:
Like I said before, our current background are just terrains
to step on. We can attatch a real background to our
current one.

what we have:

what we see:

So draw a real map, a cityscape, a maze, a desert, a
forest... Anything.

Convert it to a symbol, then use a paint brush tool to
brush the area that is accessible in your map

Your map

what you brush

Convert your background and brushed area to separate
symbols. The brushed area is still our BG and it follows
what we previously had.
Our real cosmetic background will be embedded with these
code:

<p align="left"><font face="Times New Roman" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><b>onClipEvent(enterFrame){</b></font></p><p align="left"><font face="Times New Roman" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><b>this._x = _root.BG._x;</b></font></p><p align="left"><font face="Times New Roman" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><b>this._y = _root.BG._y;</b></font></p><p align="left"><font face="Times New Roman" size="13" color="#000000" letterSpacing="0.000000" kerning="1"><b>}</b></font></p>

This just tells the
cosmetic background
to follow the real
background.

Final thoughts:
Your background may not be perfectly aligned, you'll have to
adjust these in the movie clip or code.
You should have a global movespeed variable instead of the 4's
that I have there.
The mouse interaction, object interaction, music, battles, etc, will
be covered in other tutorials. This is just to offer a method to
create an easy-to-edit interface.
Thanks for reading!
棺木叔叔

Back to Menu

Movements:

Arrow keys to move
Mouse to interact

Click to terminate dialogue

I'll need to get closer

NPC 1:
  Test test, this is a test, this test if I'm
speaking properly. If you can see this, I'm probably
fine.

NPC2:
If you've talked to both the red guy and the blue
guy, a new NPC will reveal itself at the last corner.

This portal doesn't seem to be functioning

NPC3:
If you found all 3 clones of yourself, you can
somehow unlock the red portal.

THIS IS THE RED WORLD
YOU WILL FIND NOTHING HERE
LEAVE

Hurrah, a map that rips off rockman.exe

ActionScript [AS1/AS2]

Frame 3
stop();
Instance of Symbol 41 MovieClip in Frame 3
on (release) { if (_currentframe == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } }
Instance of Symbol 69 MovieClip in Frame 8
onClipEvent (enterFrame) { if (Key.isDown(40)) { this._y = this._y + 4; } if (Key.isDown(38)) { this._y = this._y - 4; } if (Key.isDown(37)) { this._x = this._x - 4; } if (Key.isDown(39)) { this._x = this._x + 4; } }
Instance of Symbol 69 MovieClip "hero" in Frame 12
onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } }
Instance of Symbol 69 MovieClip "hero" in Frame 20
onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; } }
Instance of Symbol 69 MovieClip "hero" in Frame 26
onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; } }
Frame 28
moveRight = false; moveLeft = false; moveUp = false; moveDown = false;
Instance of Symbol 69 MovieClip "hero" in Frame 28
onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; _root.moveLeft = true; } else { _root.moveLeft = false; } }
Instance of Symbol 149 MovieClip in Frame 28
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Frame 33
moveRight = false; moveLeft = false; moveUp = false; moveDown = false;
Instance of Symbol 69 MovieClip "hero" in Frame 33
onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; _root.moveLeft = true; } else { _root.moveLeft = false; } }
Instance of Symbol 161 MovieClip in Frame 33
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 33
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 33
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 33
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 33
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 33
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 69 MovieClip "hero" in Frame 37
onClipEvent (enterFrame) { if (Key.isDown(40)) { this._y = this._y + 4; } if (Key.isDown(38)) { this._y = this._y - 4; } if (Key.isDown(37)) { this._x = this._x - 4; } if (Key.isDown(39)) { this._x = this._x + 4; } }
Instance of Symbol 225 MovieClip in Frame 37
onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { if (Key.isDown(39)) { facing = 7; this.gotoAndStop(14); } else if (Key.isDown(37)) { facing = 5; this.gotoAndStop(10); } else { facing = 2; this.gotoAndStop(4); } } else if (Key.isDown(38)) { if (Key.isDown(39)) { facing = 8; this.gotoAndStop(16); } else if (Key.isDown(37)) { facing = 6; this.gotoAndStop(12); } else { facing = 1; this.gotoAndStop(2); } } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } else if (facing == 5) { this.gotoAndStop(9); } else if (facing == 6) { this.gotoAndStop(11); } else if (facing == 7) { this.gotoAndStop(13); } else if (facing == 8) { this.gotoAndStop(15); } }
Instance of Symbol 225 MovieClip in Frame 39
onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { if (Key.isDown(40)) { facing = 2; this.gotoAndStop(4); } else if (Key.isDown(38)) { facing = 1; this.gotoAndStop(2); } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } else if (facing == 5) { this.gotoAndStop(9); } else if (facing == 6) { this.gotoAndStop(11); } else if (facing == 7) { this.gotoAndStop(13); } else if (facing == 8) { this.gotoAndStop(15); } }
Instance of Symbol 69 MovieClip "hero" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(40)) { this._y = this._y + 4; } if (Key.isDown(38)) { this._y = this._y - 4; } if (Key.isDown(37)) { this._x = this._x - 4; } if (Key.isDown(39)) { this._x = this._x + 4; } }
Instance of Symbol 225 MovieClip in Frame 46
onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { if (Key.isDown(39)) { facing = 7; this.gotoAndStop(14); } else if (Key.isDown(37)) { facing = 5; this.gotoAndStop(10); } else { facing = 2; this.gotoAndStop(4); } } else if (Key.isDown(38)) { if (Key.isDown(39)) { facing = 8; this.gotoAndStop(16); } else if (Key.isDown(37)) { facing = 6; this.gotoAndStop(12); } else { facing = 1; this.gotoAndStop(2); } } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } else if (facing == 5) { this.gotoAndStop(9); } else if (facing == 6) { this.gotoAndStop(11); } else if (facing == 7) { this.gotoAndStop(13); } else if (facing == 8) { this.gotoAndStop(15); } }
Frame 47
moveRight = false; moveLeft = false; moveUp = false; moveDown = false;
Instance of Symbol 69 MovieClip "hero" in Frame 47
onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; _root.moveLeft = true; } else { _root.moveLeft = false; } }
Instance of Symbol 161 MovieClip in Frame 47
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 47
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 47
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 47
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 47
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 161 MovieClip in Frame 47
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + 4; } if (_root.moveUp == true) { this._y = this._y + 4; } if (_root.moveDown == true) { this._y = this._y - 4; } if (_root.moveRight == true) { this._x = this._x - 4; } }
Instance of Symbol 225 MovieClip in Frame 47
onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { facing = 2; this.gotoAndStop(4); } else if (Key.isDown(38)) { facing = 1; this.gotoAndStop(2); } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } }
Instance of Symbol 279 MovieClip in Frame 52
onClipEvent (enterFrame) { this._x = _root.BG._x; this._y = _root.BG._y; }
Instance of Symbol 69 MovieClip "hero" in Frame 52
onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + 4; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - 4; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - 4; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + 4; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + 4; _root.BG._y = _root.BG._y + 4; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - 4; _root.BG._y = _root.BG._y - 4; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - 4; _root.BG._x = _root.BG._x - 4; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + 4; _root.BG._x = _root.BG._x + 4; _root.moveLeft = true; } else { _root.moveLeft = false; } }
Instance of Symbol 225 MovieClip in Frame 52
onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { facing = 2; this.gotoAndStop(4); } else if (Key.isDown(38)) { facing = 1; this.gotoAndStop(2); } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } }
Frame 54
function updateCursor() { _root.cursor._x = _xmouse; _root.cursor._y = _ymouse; updateAfterEvent(); } stop(); _root.cursor.gotoAndStop(1); _root.stereo.gotoAndStop(1); movespeed_v = 3; movespeed = 4; count = 0; moveRight = false; moveLeft = false; moveUp = false; moveDown = false; talk1 = false; talk2 = false; talk3 = false;
Instance of Symbol 294 MovieClip "BG2" in Frame 54
onClipEvent (enterFrame) { this._x = _root.BG._x; this._y = _root.BG._y; }
Instance of Symbol 69 MovieClip "hero" in Frame 54
onClipEvent (enterFrame) { if (Key.isDown(40)) { if (_root.BG.hitTest(_x, _y + 5, true)) { this._y = this._y + _root.movespeed_v; } this.gotoAndStop(2); } if (Key.isDown(38)) { if (_root.BG.hitTest(_x, _y - 5, true)) { this._y = this._y - _root.movespeed_v; } this.gotoAndStop(1); } if (Key.isDown(37)) { if (_root.BG.hitTest(_x - 5, _y, true)) { this._x = this._x - _root.movespeed; } else { this.gotoAndStop(3); } } if (Key.isDown(39)) { if (_root.BG.hitTest(_x + 5, _y, true)) { this._x = this._x + _root.movespeed; } this.gotoAndStop(4); } if (_root.gridUP.hitTest(_x, _y - 20, true)) { this._y = this._y + _root.movespeed_v; _root.BG._y = _root.BG._y + _root.movespeed_v; _root.moveUp = true; } else { _root.moveUp = false; } if (_root.gridDOWN.hitTest(_x, _y + 20, true)) { this._y = this._y - _root.movespeed_v; _root.BG._y = _root.BG._y - _root.movespeed_v; _root.item._y = _root.item._y - _root.movespeed; _root.moveDown = true; } else { _root.moveDown = false; } if (_root.gridRIGHT.hitTest(_x + 20, _y, true)) { this._x = this._x - _root.movespeed; _root.BG._x = _root.BG._x - _root.movespeed; _root.item._x = _root.item._x - _root.movespeed; _root.moveRight = true; } else { _root.moveRight = false; } if (_root.gridLEFT.hitTest(_x - 20, _y, true)) { this._x = this._x + _root.movespeed; _root.BG._x = _root.BG._x + _root.movespeed; _root.item._x = _root.item._x + _root.movespeed; _root.moveLeft = true; } else { _root.moveLeft = false; } if (_root.BG.hitTest(_x, _y, true)) { _root.touch2.gotoAndStop(2); } else { _root.touch2.gotoAndStop(1); } }
Instance of Symbol 299 MovieClip "item1" in Frame 54
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } if (_currentframe >= 11) { this._x = this._x + 320; this._y = this._y - 200; _root.BG._x = _root.BG._x + 320; _root.BG._y = _root.BG._y - 200; _root.portal._x = _root.portal._x - -320; _root.portal._y = _root.portal._y + -200; _root.hero._x = 260; _root.hero._y = 185; _root.man1._x = _root.man1._x + 320; _root.man2._x = _root.man2._x + 320; _root.man1._y = _root.man1._y - 200; _root.man2._y = _root.man2._y - 200; _root.man3._x = _root.man3._x + 320; _root.man3._y = _root.man3._y - 200; } if (_currentframe >= 7) { _root.fade.gotoAndPlay(2); } } on (release) { if (_root.hero.hitTest(this)) { this.gotoAndPlay(2); } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }
Instance of Symbol 299 MovieClip "portal" in Frame 54
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } } on (release) { if (_root.hero.hitTest(this)) { this.gotoAndPlay(2); _root.count++; _root.talkbox._visible = true; _root.talkbox.gotoAndStop(5); if ((((_root.talk1 && (_root.talk2)) && (_root.talk3)) && (_root.count >= 10)) && (!_root.zero._visible)) { _root.BG.gotoAndStop(2); _root.BG2.gotoAndStop(2); _root.fade.gotoAndPlay(2); _root.music.gotoAndStop(2); _root.movespeed = 2; _root.movespeed_v = 1.5; _root.zero._visible = true; _root.talkbox.gotoAndStop(7); } else if (_root.zero._visible) { _root.BG.gotoAndStop(1); _root.BG2.gotoAndStop(1); _root.fade.gotoAndPlay(2); _root.music.gotoAndStop(1); _root.movespeed = 4; _root.movespeed_v = 3; _root.zero._visible = false; _root.talkbox.gotoAndStop(8); } } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }
Instance of Symbol 300 MovieClip "man2" in Frame 54
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } } on (release) { if (_root.hero.hitTest(_root.hitArea1)) { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(3); _root.talk2 = true; } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }
Instance of Symbol 3 MovieClip "hitArea1" in Frame 54
onClipEvent (enterFrame) { this._x = _root.man2._x - 40; this._y = _root.man2._y; }
Instance of Symbol 3 MovieClip "hitArea2" in Frame 54
onClipEvent (enterFrame) { this._x = _root.man1._x; this._y = _root.man1._y; }
Instance of Symbol 301 MovieClip "man3" in Frame 54
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } if ((!_root.talk1) || (!_root.talk2)) { this._visible = false; } else { this._visible = true; } } on (release) { if (_root.hero.hitTest(this)) { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(6); _root.talk3 = true; } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }
Instance of Symbol 225 MovieClip in Frame 54
onClipEvent (load) { facing = 1; } onClipEvent (enterFrame) { this._x = _root.hero._x; this._y = _root.hero._y - 30; if (Key.isDown(40)) { if (Key.isDown(39)) { facing = 7; this.gotoAndStop(14); } else if (Key.isDown(37)) { facing = 5; this.gotoAndStop(10); } else { facing = 2; this.gotoAndStop(4); } } else if (Key.isDown(38)) { if (Key.isDown(39)) { facing = 8; this.gotoAndStop(16); } else if (Key.isDown(37)) { facing = 6; this.gotoAndStop(12); } else { facing = 1; this.gotoAndStop(2); } } else if (Key.isDown(37)) { facing = 3; this.gotoAndStop(6); } else if (Key.isDown(39)) { facing = 4; this.gotoAndStop(8); } else if (facing == 1) { this.gotoAndStop(1); } else if (facing == 2) { this.gotoAndStop(3); } else if (facing == 3) { this.gotoAndStop(5); } else if (facing == 4) { this.gotoAndStop(7); } else if (facing == 5) { this.gotoAndStop(9); } else if (facing == 6) { this.gotoAndStop(11); } else if (facing == 7) { this.gotoAndStop(13); } else if (facing == 8) { this.gotoAndStop(15); } }
Instance of Symbol 300 MovieClip "man1" in Frame 54
onClipEvent (enterFrame) { if (_root.moveLeft == true) { this._x = this._x + _root.movespeed; } if (_root.moveUp == true) { this._y = this._y + _root.movespeed_v; } if (_root.moveDown == true) { this._y = this._y - _root.movespeed_v; } if (_root.moveRight == true) { this._x = this._x - _root.movespeed; } } on (release) { if (_root.hero.hitTest(_root.hitArea2)) { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(4); _root.talk1 = true; } else { _root.talkbox._visible = true; _root.talkbox.gotoAndStop(2); } }
Instance of Symbol 322 MovieClip "cursor" in Frame 54
onClipEvent (load) { Mouse.hide(); this.swapDepths(100); } onClipEvent (mouseMove) { _root.updateCursor(); if (_root.portal.hitTest(_x, _y, true)) { this.gotoAndStop(2); } else if (_root.item1.hitTest(_x, _y, true)) { this.gotoAndStop(2); } else if (_root.man1.hitTest(_x, _y, true)) { this.gotoAndStop(3); } else if (_root.man2.hitTest(_x, _y, true)) { this.gotoAndStop(3); } else if (_root.man3.hitTest(_x, _y, true)) { if (_root.man3._visible == false) { } else { this.gotoAndStop(3); } } else { this.gotoAndStop(1); } }
Instance of Symbol 341 MovieClip "talkbox" in Frame 54
onClipEvent (load) { this._visible = false; } on (release) { this._visible = false; }
Instance of Symbol 346 MovieClip "zero" in Frame 54
onClipEvent (load) { this._visible = false; }
Symbol 17 Button
on (release) { _root.play(); }
Symbol 18 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop ("loaded"); }
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 30 Button
on (release) { gotoAndStop (54); }
Symbol 36 Button
on (release) { nextFrame(); }
Symbol 41 MovieClip Frame 1
stop();
Symbol 46 Button
on (release) { prevFrame(); }
Symbol 51 Button
on (release) { gotoAndStop ("two"); }
Symbol 52 Button
on (release) { gotoAndStop ("three"); }
Symbol 53 Button
on (release) { gotoAndStop ("four"); }
Symbol 54 Button
on (release) { gotoAndStop ("five"); }
Symbol 62 Button
on (release) { gotoAndStop (4); }
Symbol 69 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 244 Button
on (rollOver) { _root.kenshu.gotoAndStop(1); }
Symbol 245 Button
on (rollOver) { _root.kenshu.gotoAndStop(2); }
Symbol 246 Button
on (rollOver) { _root.kenshu.gotoAndStop(3); }
Symbol 247 Button
on (rollOver) { _root.kenshu.gotoAndStop(4); }
Symbol 248 Button
on (rollOver) { _root.kenshu.gotoAndStop(5); }
Symbol 249 Button
on (rollOver) { _root.kenshu.gotoAndStop(6); }
Symbol 250 Button
on (rollOver) { _root.kenshu.gotoAndStop(7); }
Symbol 251 Button
on (rollOver) { _root.kenshu.gotoAndStop(8); }
Symbol 292 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 323 Button
on (release) { gotoAndStop (3); }
Symbol 330 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 1
stop();

Library Items

Symbol 1 GraphicUsed by:5
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:4 330  Timeline
Symbol 4 MovieClipUses:3Used by:5
Symbol 5 MovieClipUses:1 4Used by:330  Timeline
Symbol 6 GraphicUsed by:7  Timeline
Symbol 7 MovieClipUses:6Used by:18
Symbol 8 GraphicUsed by:18
Symbol 9 FontUsed by:10 19 20
Symbol 10 TextUses:9Used by:18
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:11Used by:18
Symbol 13 GraphicUsed by:17
Symbol 14 GraphicUsed by:17
Symbol 15 GraphicUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 ButtonUses:13 14 15 16Used by:18
Symbol 18 MovieClipUses:7 8 10 12 17Used by:Timeline
Symbol 19 TextUses:9Used by:Timeline
Symbol 20 TextUses:9Used by:Timeline
Symbol 21 FontUsed by:23
Symbol 22 FontUsed by:23
Symbol 23 TextUses:21 22Used by:Timeline
Symbol 24 FontUsed by:25
Symbol 25 TextUses:24Used by:Timeline
Symbol 26 GraphicUsed by:30 323
Symbol 27 GraphicUsed by:30 323
Symbol 28 GraphicUsed by:30 323
Symbol 29 GraphicUsed by:30 323
Symbol 30 ButtonUses:26 27 28 29Used by:Timeline
Symbol 31 FontUsed by:32
Symbol 32 TextUses:31Used by:Timeline
Symbol 33 GraphicUsed by:36 46 51 52 53 54
Symbol 34 GraphicUsed by:36 46 51 52 53 54
Symbol 35 GraphicUsed by:36 46 51 52 53 54
Symbol 36 ButtonUses:33 34 35Used by:Timeline
Symbol 37 GraphicUsed by:41
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38 SS1Used by:41 306
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:37 39 40Used by:Timeline
Symbol 42 FontUsed by:43 44
Symbol 43 TextUses:42Used by:Timeline
Symbol 44 TextUses:42Used by:Timeline
Symbol 45 GraphicUsed by:Timeline
Symbol 46 ButtonUses:33 34 35Used by:Timeline
Symbol 47 GraphicUsed by:50 62
Symbol 48 GraphicUsed by:50 62
Symbol 49 GraphicUsed by:50 62
Symbol 50 ButtonUses:47 48 49Used by:Timeline
Symbol 51 ButtonUses:33 34 35Used by:Timeline
Symbol 52 ButtonUses:33 34 35Used by:Timeline
Symbol 53 ButtonUses:33 34 35Used by:Timeline
Symbol 54 ButtonUses:33 34 35Used by:Timeline
Symbol 55 FontUsed by:56 57 60 63 64 70 75 76 78 79 90 91 92 94 95 98 99 102 104 105 115 116 117 118 121 122 124 125 128 129 131 132 133 134 137 139 141 142 143 144 145 146 147 151 152 157 159 162 164 166 167 168 169 170 215 216 226 227 228 229 230 231 232 233 234 235 236 237 239 240 241 253 255 256 257 258 259 260 261 262 263 264 266 270 271 273 274 276 277 281 284 288 339
Symbol 56 TextUses:55Used by:Timeline
Symbol 57 TextUses:55Used by:Timeline
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:Timeline
Symbol 60 TextUses:55Used by:Timeline
Symbol 61 GraphicUsed by:Timeline
Symbol 62 ButtonUses:47 48 49Used by:Timeline
Symbol 63 TextUses:55Used by:Timeline
Symbol 64 TextUses:55Used by:Timeline
Symbol 65 GraphicUsed by:69
Symbol 66 GraphicUsed by:69
Symbol 67 GraphicUsed by:69
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:65 66 67 68Used by:Timeline
Symbol 70 TextUses:55Used by:Timeline
Symbol 71 BitmapUsed by:72 77
Symbol 72 GraphicUses:71Used by:Timeline
Symbol 73 FontUsed by:74 80 103 106 107 109 110 140 153 158 165 254
Symbol 74 EditableTextUses:73Used by:Timeline
Symbol 75 TextUses:55Used by:Timeline
Symbol 76 TextUses:55Used by:Timeline
Symbol 77 GraphicUses:71Used by:Timeline
Symbol 78 TextUses:55Used by:Timeline
Symbol 79 TextUses:55Used by:Timeline
Symbol 80 TextUses:73Used by:Timeline
Symbol 81 FontUsed by:82 83 84 85 86 87 88 108 109 111 113 114 135 136 265
Symbol 82 TextUses:81Used by:Timeline
Symbol 83 TextUses:81Used by:Timeline
Symbol 84 TextUses:81Used by:Timeline
Symbol 85 TextUses:81Used by:Timeline
Symbol 86 TextUses:81Used by:Timeline
Symbol 87 TextUses:81Used by:Timeline
Symbol 88 TextUses:81Used by:Timeline
Symbol 89 GraphicUsed by:93  Timeline
Symbol 90 TextUses:55Used by:Timeline
Symbol 91 TextUses:55Used by:Timeline
Symbol 92 TextUses:55Used by:Timeline
Symbol 93 MovieClipUses:89Used by:Timeline
Symbol 94 TextUses:55Used by:Timeline
Symbol 95 TextUses:55Used by:Timeline
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:Timeline
Symbol 98 TextUses:55Used by:Timeline
Symbol 99 TextUses:55Used by:Timeline
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:Timeline
Symbol 102 TextUses:55Used by:Timeline
Symbol 103 EditableTextUses:73Used by:Timeline
Symbol 104 TextUses:55Used by:Timeline
Symbol 105 TextUses:55Used by:Timeline
Symbol 106 TextUses:73Used by:Timeline
Symbol 107 TextUses:73Used by:Timeline
Symbol 108 TextUses:81Used by:Timeline
Symbol 109 TextUses:81 73Used by:Timeline
Symbol 110 TextUses:73Used by:Timeline
Symbol 111 TextUses:81Used by:Timeline
Symbol 112 GraphicUsed by:Timeline
Symbol 113 TextUses:81Used by:Timeline
Symbol 114 TextUses:81Used by:Timeline
Symbol 115 TextUses:55Used by:Timeline
Symbol 116 TextUses:55Used by:Timeline
Symbol 117 TextUses:55Used by:Timeline
Symbol 118 TextUses:55Used by:Timeline
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:Timeline
Symbol 121 TextUses:55Used by:Timeline
Symbol 122 TextUses:55Used by:Timeline
Symbol 123 GraphicUsed by:Timeline
Symbol 124 TextUses:55Used by:Timeline
Symbol 125 TextUses:55Used by:Timeline
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:Timeline
Symbol 128 TextUses:55Used by:Timeline
Symbol 129 TextUses:55Used by:Timeline
Symbol 130 GraphicUsed by:Timeline
Symbol 131 TextUses:55Used by:Timeline
Symbol 132 TextUses:55Used by:Timeline
Symbol 133 TextUses:55Used by:Timeline
Symbol 134 TextUses:55Used by:Timeline
Symbol 135 TextUses:81Used by:Timeline
Symbol 136 TextUses:81Used by:Timeline
Symbol 137 TextUses:55Used by:Timeline
Symbol 138 GraphicUsed by:Timeline
Symbol 139 TextUses:55Used by:Timeline
Symbol 140 EditableTextUses:73Used by:Timeline
Symbol 141 TextUses:55Used by:Timeline
Symbol 142 TextUses:55Used by:Timeline
Symbol 143 TextUses:55Used by:Timeline
Symbol 144 TextUses:55Used by:Timeline
Symbol 145 TextUses:55Used by:Timeline
Symbol 146 TextUses:55Used by:Timeline
Symbol 147 TextUses:55Used by:Timeline
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:Timeline
Symbol 150 GraphicUsed by:Timeline
Symbol 151 TextUses:55Used by:Timeline
Symbol 152 TextUses:55Used by:Timeline
Symbol 153 EditableTextUses:73Used by:Timeline
Symbol 154 BitmapUsed by:155
Symbol 155 GraphicUses:154Used by:Timeline
Symbol 156 GraphicUsed by:Timeline
Symbol 157 TextUses:55Used by:Timeline
Symbol 158 EditableTextUses:73Used by:Timeline
Symbol 159 TextUses:55Used by:Timeline
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:160Used by:Timeline
Symbol 162 TextUses:55Used by:Timeline
Symbol 163 GraphicUsed by:Timeline
Symbol 164 TextUses:55Used by:Timeline
Symbol 165 EditableTextUses:73Used by:Timeline
Symbol 166 TextUses:55Used by:Timeline
Symbol 167 TextUses:55Used by:Timeline
Symbol 168 TextUses:55Used by:Timeline
Symbol 169 TextUses:55Used by:Timeline
Symbol 170 TextUses:55Used by:Timeline
Symbol 171 GraphicUsed by:179
Symbol 172 GraphicUsed by:179
Symbol 173 GraphicUsed by:179
Symbol 174 GraphicUsed by:179
Symbol 175 GraphicUsed by:179
Symbol 176 GraphicUsed by:179
Symbol 177 GraphicUsed by:179
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:171 172 173 174 175 176 177 178Used by:225  Timeline
Symbol 180 GraphicUsed by:188
Symbol 181 GraphicUsed by:188
Symbol 182 GraphicUsed by:188
Symbol 183 GraphicUsed by:188
Symbol 184 GraphicUsed by:188
Symbol 185 GraphicUsed by:188
Symbol 186 GraphicUsed by:188
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:180 181 182 183 184 185 186 187Used by:225  Timeline
Symbol 189 GraphicUsed by:196
Symbol 190 GraphicUsed by:196
Symbol 191 GraphicUsed by:196
Symbol 192 GraphicUsed by:196
Symbol 193 GraphicUsed by:196
Symbol 194 GraphicUsed by:196
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:189 190 191 192 193 194 195Used by:225  Timeline
Symbol 197 GraphicUsed by:205
Symbol 198 GraphicUsed by:205
Symbol 199 GraphicUsed by:205
Symbol 200 GraphicUsed by:205
Symbol 201 GraphicUsed by:205
Symbol 202 GraphicUsed by:205
Symbol 203 GraphicUsed by:205
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClipUses:197 198 199 200 201 202 203 204Used by:225  Timeline
Symbol 206 GraphicUsed by:214
Symbol 207 GraphicUsed by:214
Symbol 208 GraphicUsed by:214
Symbol 209 GraphicUsed by:214
Symbol 210 GraphicUsed by:214
Symbol 211 GraphicUsed by:214
Symbol 212 GraphicUsed by:214
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClipUses:206 207 208 209 210 211 212 213Used by:225  Timeline
Symbol 215 TextUses:55Used by:Timeline
Symbol 216 TextUses:55Used by:Timeline
Symbol 217 GraphicUsed by:225
Symbol 218 GraphicUsed by:225
Symbol 219 GraphicUsed by:225
Symbol 220 GraphicUsed by:225
Symbol 221 GraphicUsed by:225 300
Symbol 222 GraphicUsed by:225 301
Symbol 223 GraphicUsed by:225  Timeline
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:217 214 218 196 219 205 220 221 179 222 188 223 224Used by:Timeline
Symbol 226 TextUses:55Used by:Timeline
Symbol 227 TextUses:55Used by:Timeline
Symbol 228 TextUses:55Used by:Timeline
Symbol 229 TextUses:55Used by:Timeline
Symbol 230 TextUses:55Used by:Timeline
Symbol 231 TextUses:55Used by:Timeline
Symbol 232 TextUses:55Used by:Timeline
Symbol 233 TextUses:55Used by:Timeline
Symbol 234 TextUses:55Used by:Timeline
Symbol 235 TextUses:55Used by:Timeline
Symbol 236 TextUses:55Used by:Timeline
Symbol 237 TextUses:55Used by:Timeline
Symbol 238 GraphicUsed by:Timeline
Symbol 239 TextUses:55Used by:Timeline
Symbol 240 TextUses:55Used by:Timeline
Symbol 241 TextUses:55Used by:Timeline
Symbol 242 GraphicUsed by:244 245 246 247 248 249 250 251
Symbol 243 GraphicUsed by:244 245 246 247 248 249 250 251
Symbol 244 ButtonUses:242 243Used by:Timeline
Symbol 245 ButtonUses:242 243Used by:Timeline
Symbol 246 ButtonUses:242 243Used by:Timeline
Symbol 247 ButtonUses:242 243Used by:Timeline
Symbol 248 ButtonUses:242 243Used by:Timeline
Symbol 249 ButtonUses:242 243Used by:Timeline
Symbol 250 ButtonUses:242 243Used by:Timeline
Symbol 251 ButtonUses:242 243Used by:Timeline
Symbol 252 GraphicUsed by:Timeline
Symbol 253 TextUses:55Used by:Timeline
Symbol 254 EditableTextUses:73Used by:Timeline
Symbol 255 TextUses:55Used by:Timeline
Symbol 256 TextUses:55Used by:Timeline
Symbol 257 TextUses:55Used by:Timeline
Symbol 258 TextUses:55Used by:Timeline
Symbol 259 TextUses:55Used by:Timeline
Symbol 260 TextUses:55Used by:Timeline
Symbol 261 TextUses:55Used by:Timeline
Symbol 262 TextUses:55Used by:Timeline
Symbol 263 TextUses:55Used by:Timeline
Symbol 264 TextUses:55Used by:Timeline
Symbol 265 TextUses:81Used by:Timeline
Symbol 266 TextUses:55Used by:Timeline
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:267Used by:279 294  Timeline
Symbol 269 GraphicUsed by:Timeline
Symbol 270 TextUses:55Used by:Timeline
Symbol 271 TextUses:55Used by:Timeline
Symbol 272 GraphicUsed by:Timeline
Symbol 273 TextUses:55Used by:Timeline
Symbol 274 TextUses:55Used by:Timeline
Symbol 275 GraphicUsed by:Timeline
Symbol 276 TextUses:55Used by:Timeline
Symbol 277 TextUses:55Used by:Timeline
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClipUses:268 278Used by:Timeline
Symbol 280 GraphicUsed by:Timeline
Symbol 281 TextUses:55Used by:Timeline
Symbol 282 FontUsed by:283
Symbol 283 EditableTextUses:282Used by:Timeline
Symbol 284 TextUses:55Used by:Timeline
Symbol 285 GraphicUsed by:286
Symbol 286 MovieClipUses:285Used by:Timeline
Symbol 287 FontUsed by:288
Symbol 288 TextUses:55 287Used by:Timeline
Symbol 289 GraphicUsed by:Timeline
Symbol 290 GraphicUsed by:292
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:290 291Used by:Timeline
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:268 293Used by:Timeline
Symbol 295 GraphicUsed by:299
Symbol 296 GraphicUsed by:299
Symbol 297 ShapeTweeningUsed by:299
Symbol 298 ShapeTweeningUsed by:299
Symbol 299 MovieClipUses:295 296 297 298Used by:Timeline
Symbol 300 MovieClipUses:221Used by:Timeline
Symbol 301 MovieClipUses:222Used by:Timeline
Symbol 302 GraphicUsed by:Timeline
Symbol 303 GraphicUsed by:306
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClipUses:304 SS2Used by:306
Symbol 306 MovieClipUses:303 305 39Used by:Timeline
Symbol 307 GraphicUsed by:313
Symbol 308 GraphicUsed by:313
Symbol 309 GraphicUsed by:313
Symbol 310 GraphicUsed by:313
Symbol 311 GraphicUsed by:313
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:307 308 309 310 311 312Used by:322
Symbol 314 GraphicUsed by:316
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:314 315Used by:322
Symbol 317 GraphicUsed by:321
Symbol 318 GraphicUsed by:321
Symbol 319 GraphicUsed by:321
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:317 318 319 320Used by:322
Symbol 322 MovieClipUses:313 316 321Used by:Timeline
Symbol 323 ButtonUses:26 27 28 29Used by:Timeline
Symbol 324 FontUsed by:325
Symbol 325 TextUses:324Used by:Timeline
Symbol 326 FontUsed by:327
Symbol 327 TextUses:326Used by:Timeline
Symbol 328 FontUsed by:329
Symbol 329 TextUses:328Used by:Timeline
Symbol 330 MovieClipUses:5 3Used by:Timeline
Symbol 331 GraphicUsed by:341
Symbol 332 FontUsed by:333 334 335 336 337 338 340
Symbol 333 TextUses:332Used by:341
Symbol 334 TextUses:332Used by:341
Symbol 335 TextUses:332Used by:341
Symbol 336 TextUses:332Used by:341
Symbol 337 TextUses:332Used by:341
Symbol 338 TextUses:332Used by:341
Symbol 339 EditableTextUses:55Used by:341
Symbol 340 TextUses:332Used by:341
Symbol 341 MovieClipUses:331 333 334 335 336 337 338 339 340Used by:Timeline
Symbol 342 GraphicUsed by:346
Symbol 343 ShapeTweeningUsed by:346
Symbol 344 ShapeTweeningUsed by:346
Symbol 345 GraphicUsed by:346
Symbol 346 MovieClipUses:342 343 344 345Used by:Timeline
Streaming Sound 1Used by:Symbol 39 MovieClip
Streaming Sound 2Used by:Symbol 305 MovieClip

Instance Names

"BG"Frame 12Symbol 93 MovieClip
"hero"Frame 12Symbol 69 MovieClip
"BG"Frame 20Symbol 93 MovieClip
"hero"Frame 20Symbol 69 MovieClip
"gridUP"Frame 20Symbol 120 MovieClip
"gridDOWN"Frame 20Symbol 120 MovieClip
"gridRIGHT"Frame 20Symbol 120 MovieClip
"gridLEFT"Frame 20Symbol 120 MovieClip
"BG"Frame 26Symbol 93 MovieClip
"hero"Frame 26Symbol 69 MovieClip
"gridUP"Frame 26Symbol 120 MovieClip
"gridDOWN"Frame 26Symbol 120 MovieClip
"gridRIGHT"Frame 26Symbol 120 MovieClip
"gridLEFT"Frame 26Symbol 120 MovieClip
"BG"Frame 28Symbol 93 MovieClip
"hero"Frame 28Symbol 69 MovieClip
"gridUP"Frame 28Symbol 120 MovieClip
"gridDOWN"Frame 28Symbol 120 MovieClip
"gridRIGHT"Frame 28Symbol 120 MovieClip
"gridLEFT"Frame 28Symbol 120 MovieClip
"BG"Frame 33Symbol 93 MovieClip
"hero"Frame 33Symbol 69 MovieClip
"gridUP"Frame 33Symbol 120 MovieClip
"gridDOWN"Frame 33Symbol 120 MovieClip
"gridRIGHT"Frame 33Symbol 120 MovieClip
"gridLEFT"Frame 33Symbol 120 MovieClip
"hero"Frame 37Symbol 69 MovieClip
"kenshu"Frame 41Symbol 225 MovieClip
"hero"Frame 46Symbol 69 MovieClip
"BG"Frame 47Symbol 93 MovieClip
"hero"Frame 47Symbol 69 MovieClip
"gridUP"Frame 47Symbol 120 MovieClip
"gridDOWN"Frame 47Symbol 120 MovieClip
"gridRIGHT"Frame 47Symbol 120 MovieClip
"gridLEFT"Frame 47Symbol 120 MovieClip
"BG"Frame 52Symbol 286 MovieClip
"hero"Frame 52Symbol 69 MovieClip
"gridUP"Frame 52Symbol 120 MovieClip
"gridDOWN"Frame 52Symbol 120 MovieClip
"gridRIGHT"Frame 52Symbol 120 MovieClip
"gridLEFT"Frame 52Symbol 120 MovieClip
"transition"Frame 54Symbol 5 MovieClip
"BG"Frame 54Symbol 292 MovieClip
"BG2"Frame 54Symbol 294 MovieClip
"hero"Frame 54Symbol 69 MovieClip
"item1"Frame 54Symbol 299 MovieClip
"portal"Frame 54Symbol 299 MovieClip
"man2"Frame 54Symbol 300 MovieClip
"hitArea1"Frame 54Symbol 3 MovieClip
"hitArea2"Frame 54Symbol 3 MovieClip
"man3"Frame 54Symbol 301 MovieClip
"man1"Frame 54Symbol 300 MovieClip
"gridUP"Frame 54Symbol 120 MovieClip
"gridDOWN"Frame 54Symbol 120 MovieClip
"gridRIGHT"Frame 54Symbol 120 MovieClip
"gridLEFT"Frame 54Symbol 120 MovieClip
"music"Frame 54Symbol 306 MovieClip
"cursor"Frame 54Symbol 322 MovieClip
"fade"Frame 54Symbol 330 MovieClip
"talkbox"Frame 54Symbol 341 MovieClip
"zero"Frame 54Symbol 346 MovieClip
"bar"Symbol 18 MovieClip Frame 1Symbol 7 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"one"Frame 5
"two"Frame 11
"three"Frame 19
"four"Frame 27
"five"Frame 35
"loaded"Symbol 18 MovieClip Frame 3




http://swfchan.com/9/40530/info.shtml
Created: 11/5 -2019 02:38:45 Last modified: 11/5 -2019 02:38:45 Server time: 14/11 -2024 07:14:10