| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
got as?
Join Date: May 2007
Posts: 507
|
ok... this challenge is to get little snipes of code that just messa round with the built in mouse...
for example... make your mouse blink between mouse show and mouse hide to make a blinking effect, or get a half see through mouse, what ever you can think off!!!!!! rules... actionscript 2 code only have fun! snipets code showcase: (the best code snipets written will go here next to the user who created them)
__________________
Feel free to PM me if you have a question |
|
|
|
|
|
#2 |
|
got as?
Join Date: May 2007
Posts: 507
|
well i tried sumthing like this but its not working... it willnt even trace my interval ... any ideas???
code: ActionScript Code:
__________________
Feel free to PM me if you have a question |
|
|
|
|
|
|
|
|
#3 |
|
got as?
Join Date: May 2007
Posts: 507
|
ok i just modified it through variables instead of setinterval blah blah blah!
lol here it is!!! my code snippet #1 (blinking mouse with adjustable speed) p.s. set the mouseblinkspeed = to about 2.001 at fps 120 and you almost get my 50% alpha mouse ActionScript Code:
__________________
Feel free to PM me if you have a question Last edited by orange gold; 01-26-2009 at 11:10 PM.. |
|
|
|
|
|
#4 |
|
MCL -- FTW
|
with this it will change the mouse cursor from arrow to hand cursor to arrow .. and keep doing that on a set interval.. but the only thing i noticed is it only works when you move the mouse.. if the mouse is stationary it stops alternating.. I am thinking there is no way around this since the same behavior happens when you disable a buttons actions when you click
ActionScript Code:
__________________
Always optimizing...
|
|
|
|
|
|
#5 |
|
MCL -- FTW
|
got it .. once the mouse has focus .. it will make the mouse change now..
the difference with this version though is it only creates 1 hit area clip.. and then just positions it off stage so that the roll out behaviour is called.. making the mouse revert back to the arrow.. ActionScript Code:
__________________
Always optimizing...
|
|
|
|
|
|
#6 |
|
got as?
Join Date: May 2007
Posts: 507
|
ohhh i like this code hehe
keep up the good work
__________________
Feel free to PM me if you have a question |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Keeping mouse cursor inside MovieClip - How is it done? | Deuzsama | ActionScript 3.0 | 2 | 03-28-2008 05:56 AM |
| Custom mouse cursor over everything, but... | MystalurDimensh | ActionScript 2.0 | 1 | 09-24-2007 01:17 PM |
| Mouse Showing up over cursor in Actionscript 3 ! | Digged | ActionScript 3.0 | 1 | 07-09-2007 03:12 PM |
| Simple problem: How do you change mouse cursor? | larsxe | ActionScript 2.0 | 2 | 07-02-2007 02:30 PM |
| Trailing mouse Cursor!!! | Jimmy87 | ActionScript 2.0 | 1 | 03-18-2007 08:00 AM |