Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tutorial] Custom Mouse Pointer on UI - Flash

Joined
Apr 23, 2013
Messages
1,172
Reaction score
1,786
Hi, I'm going to teach you how to make a custom mouse pointer in your Flash Interface.
I should warn you, you can clearly do all this in source, without depending on this tutorial, just by using "cursor.dds" in the /Data/Menu folder.But I found this kind of technique also.

Example


LukasCCB - [Tutorial] Custom Mouse Pointer on UI - Flash - RaGEZONE Forums

LukasCCB - [Tutorial] Custom Mouse Pointer on UI - Flash - RaGEZONE Forums

Version Flash: No matter, as long as you have support for AS3
Flash src: You can use your files if you already have an experience, or use some already released in RZ, Yuri-BR Original Infestation 2014 or CodexPO.

1º Step: Open FrontEnd.fla
2º Step: Go to Scene 1

LukasCCB - [Tutorial] Custom Mouse Pointer on UI - Flash - RaGEZONE Forums


Follow the steps, Go to Main>Click in Scene 1 > Create 2 Layer and rename like image.

3º Step: Layer Cursor
Create wiuth name:​
cursor_mc
LukasCCB - [Tutorial] Custom Mouse Pointer on UI - Flash - RaGEZONE Forums

4ª Step: In asCursor Layer
Click Right Button > Actions
And put this code.

Code:
Mouse.hide();stage.addEventListener(MouseEvent.MOUSE_MOVE,follow);function follow(E:MouseEvent){    cursor_mc.x = mouseX;    cursor_mc.y = mouseY;}

WarZ.sln
Search
Code:
int FrontendWarZ::Update()
{
In
r3dMouse::Show();
Change to
r3dMouse::Hide
();

Done!
 
Last edited:
Harro
Joined
Mar 29, 2013
Messages
754
Reaction score
284
A nice different tutorial good job.
 
Back
Top