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

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

How to Make a Flash Cursor.swf

This is the info page for
Flash #28090

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


Text
How to make a Flash Cursor

By Niko

Begin

Begin

ABS

I'll explain step by step how to make a cursor for a flash movie.
Draw a cursor and convert it to a movieclip:
It's better if you center the 'Clicking point' by moving the cursor
to the cross.

Ok. Now, give the cursor the instance name of "mouse" (without
the ""s), and put the following script in the Cursor movieclip you
created before:

<p align="left"><font face="Arial" size="17" color="#000000" letterSpacing="0.000000" kerning="1">onClipEvent (load) {</font></p><p align="left"><font face="Arial" size="17" color="#000000" letterSpacing="0.000000" kerning="1">startDrag(&quot;_root.mouse&quot;, true);</font></p><p align="left"><font face="Arial" size="17" color="#000000" letterSpacing="0.000000" kerning="1">Mouse.hide();</font></p><p align="left"><font face="Arial" size="17" color="#000000" letterSpacing="0.000000" kerning="1">}</font></p><p align="left"></p>

Alright, but let's say you would like your mouse to re-appear,
then you would have to put this script in the frame where you
want it to re-appear:

<p align="left"><font face="Arial" size="17" color="#000000" letterSpacing="0.000000" kerning="1">Mouse.show();</font></p>

Perfect. Now try your movie with your custom cursor.
Note: I always try to use 120 fps to make the movie go smoother,
and it's very important for the cursor to run smooth, so better try
using 120 fps instead of 30 or less.

That's it!, now you know how to make your own flash cursor.

Contact me

nikokapo@gmail.com

ActionScript [AS1/AS2]

Frame 1
stop();
Instance of Symbol 19 MovieClip "mouse" in Frame 1
onClipEvent (load) { startDrag ("_root.mouse", true); Mouse.hide(); }
Symbol 15 Button
on (release) { nextFrame(); }
Symbol 25 Button
on (release) { nextFrame(); }
Symbol 34 Button
on (release) { prevFrame(); }
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
_parent.prevFrame();
Symbol 47 MovieClip Frame 3
gotoAndPlay (2);
Symbol 48 Button
on (rollOver, dragOver) { play(); controller.gotoAndStop(1); } on (rollOut, dragOut) { controller.gotoAndPlay(2); }
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 20
stop();

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 FontUsed by:3 4
Symbol 3 TextUses:2Used by:Timeline
Symbol 4 TextUses:2Used by:Timeline
Symbol 5 GraphicUsed by:15
Symbol 6 GraphicUsed by:12 15
Symbol 7 GraphicUsed by:15
Symbol 8 FontUsed by:9 13
Symbol 9 TextUses:8Used by:15
Symbol 10 GraphicUsed by:15
Symbol 11 GraphicUsed by:15
Symbol 12 MovieClipUses:6Used by:15
Symbol 13 TextUses:8Used by:15
Symbol 14 GraphicUsed by:15
Symbol 15 ButtonUses:5 6 7 9 10 11 12 13 14Used by:Timeline
Symbol 16 GraphicUsed by:19
Symbol 17 FontUsed by:18 26 30 31 32 33 38 40
Symbol 18 TextUses:17Used by:19
Symbol 19 MovieClipUses:16 18Used by:Timeline
Symbol 20 GraphicUsed by:Timeline
Symbol 21 GraphicUsed by:Timeline
Symbol 22 GraphicUsed by:25 34
Symbol 23 GraphicUsed by:25 34
Symbol 24 GraphicUsed by:25 34
Symbol 25 ButtonUses:22 23 24Used by:Timeline
Symbol 26 TextUses:17Used by:Timeline
Symbol 27 GraphicUsed by:Timeline
Symbol 28 GraphicUsed by:Timeline
Symbol 29 GraphicUsed by:Timeline
Symbol 30 TextUses:17Used by:Timeline
Symbol 31 EditableTextUses:17Used by:Timeline
Symbol 32 TextUses:17Used by:Timeline
Symbol 33 EditableTextUses:17Used by:Timeline
Symbol 34 ButtonUses:22 23 24Used by:Timeline
Symbol 35 GraphicUsed by:Timeline
Symbol 36 GraphicUsed by:Timeline
Symbol 37 GraphicUsed by:Timeline
Symbol 38 TextUses:17Used by:Timeline
Symbol 39 GraphicUsed by:Timeline
Symbol 40 TextUses:17Used by:Timeline
Symbol 41 GraphicUsed by:50
Symbol 42 GraphicUsed by:50
Symbol 43 FontUsed by:44 49
Symbol 44 TextUses:43Used by:50
Symbol 45 GraphicUsed by:47 48 50
Symbol 46 GraphicUsed by:50
Symbol 47 MovieClipUses:45Used by:50
Symbol 48 ButtonUses:45Used by:50
Symbol 49 TextUses:43Used by:50
Symbol 50 MovieClipUses:41 42 44 45 46 47 48 49Used by:Timeline

Instance Names

"mouse"Frame 1Symbol 19 MovieClip
"controller"Symbol 50 MovieClip Frame 1Symbol 47 MovieClip

Special Tags

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




http://swfchan.com/6/28090/info.shtml
Created: 20/5 -2019 17:50:25 Last modified: 20/5 -2019 17:50:25 Server time: 04/05 -2024 09:12:52