01001100 01000011 01000011 01000010
Loyal Member
- 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
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
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
4ª Step: In asCursor Layer
Click Right Button > Actions
And put this code.
WarZ.sln
Search
In
r3dMouse::Show();
Change to
r3dMouse::Hide
();
Done!
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
You must be registered to see links
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
Follow the steps, Go to Main>Click in Scene 1 > Create 2 Layer and rename like image.
3º Step: Layer Cursor
Create wiuth name:
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()
{
r3dMouse::Show();
Change to
r3dMouse::Hide
();
Done!
Last edited: