# Maze - Help please :D

**URL:** <https://forum.kirupa.com/t/maze-help-please-d/23261>\
**Category:** flash\
**Created:** [June 15, 2003, 1:50pm UTC](https://forum.kirupa.com/t/maze-help-please-d/23261 "2003-06-15T13:50:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SBV](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SBV](https://forum.kirupa.com/u/SBV)\
**Post date:** [June 15, 2003, 1:50pm UTC](https://forum.kirupa.com/t/maze-help-please-d/23261/1 "2003-06-15T13:50:21Z")

</div>

Maze.

Well with the maze that comes in the Flash MX samples folder, ive done everything for the maze, but the player is not moving.

I know the opponent is a motion guide, but the player you control is not moving…

Actionscript is on the maze.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 17, 2003, 4:57pm UTC](https://forum.kirupa.com/t/maze-help-please-d/23261/2 "2003-06-17T16:57:22Z")

</div>

Bump

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 17, 2003, 5:23pm UTC](https://forum.kirupa.com/t/maze-help-please-d/23261/3 "2003-06-17T17:23:30Z")

</div>

Hi,

You got some errors on your code and on your desig as well.

First: The walls are to thin.

Second: on that piece of code on the maze walls:  
[AS]onClipEvent (enterFrame) {  
if (\_root.started && \_root.\_currentframe==1) {  
…[/AS]

you are checking for the wrong frame #.  
You´re not on frame 1, you´re on frame 5.

And you´re not passing the \_root.started variable correctly…

if you change the code for this it will work:  
[AS]onClipEvent (enterFrame) {  
if (\_root.\_currentframe==5) {  
…[/AS]

Cheers :bounce:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 17, 2003, 5:27pm UTC](https://forum.kirupa.com/t/maze-help-please-d/23261/4 "2003-06-17T17:27:24Z")

</div>

Still not working, Can you send me the file?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 17, 2003, 5:43pm UTC](https://forum.kirupa.com/t/maze-help-please-d/23261/5 "2003-06-17T17:43:08Z")

</div>

Sure! =)

I forgot to mention that you should have made a mc of the walls inside the mc maze, and give it a instance name of **walls**.

There you go 😉
