# Role Playing Game

**URL:** https://forum.kirupa.com/t/role-playing-game/8179
**Category:** flash
**Created:** [November 15, 2002, 2:38am UTC](https://forum.kirupa.com/t/role-playing-game/8179 "2002-11-15T02:38:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![RainbowEnergies](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@RainbowEnergies](https://forum.kirupa.com/u/RainbowEnergies)
#### Post date: [November 15, 2002, 2:38am UTC](https://forum.kirupa.com/t/role-playing-game/8179/1 "2002-11-15T02:38:07Z")

</div>

Dear Sir/Madam,

I have a few problems about FlashMX.

Firstly, how do you keep track of mouse movement?

Secondly, how do you place a game map for the player to move around?

Thirdly, how do you place Flash program into Java program?

Thank you Sir/Madam, for spending time in helping me solving my

problem.

Yours Sincerely,

RainbowEnergies

---

<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: [November 15, 2002, 10:27am UTC](https://forum.kirupa.com/t/role-playing-game/8179/2 "2002-11-15T10:27:37Z")

</div>

Hi,

> \*Originally posted by RainbowEnergies \*

Firstly, how do you keep track of mouse movement?

Secondly, how do you place a game map for the player to move around?

Thirdly, how do you place Flash program into Java program?

**1.** \_xmouse, \_ymouse (\_root.\_xmouse, \_root.\_ymouse for global mouse) catch the first x and y positions and compare them with the second ones that u catch on mouseDown, mouseUp, mouseMove, keyDown, press, rollOver, rollOut, interval of time…or whaterver the event.

**2.**???

**3.** XML? (for instance)

Cheers

SHO
