New Blog, Cursor Effects

Hey, welcome to my new blog!

This new blog will make it tons easier for me to keep you posted on news from Kabomb, as well as flash related news from around the web. I’ll also be able to post open source tutorials, prototypes, and flash experiments that you can follow. You’ll be able to comment on all my posts and I’ll try to reply to the ones that need a reply, if not just email me.

If you have no idea what flash is or you want to get into it, you can download a free trial from the Adobe Website where you’ll also need flash player (you should already have it) to see all the examples on your web browser.

Okay, let’s get down to business - my first tutorial - Cursor Effects. This lets you create effects like those in my Cursorized series where MC animations continually come out at the cursor which creates a really cool effect.

Here’s what I did.
Cursor Effect Screenshot

Now I’ll explain how I did it.

Scroll to AS2 version

AS3
First create a blank MC with an instance name of ‘Effect’ (no quotes, case sensitive). Click on ‘Advanced’ (if you haven’t already) and select ‘Export for Actionscript’. Click OK. Now you have to create a simple animation that will be the basis of the effect.

Create a blank keyframe after the last frame of the animation, and put this code there:

This removes the MC from being visible, and stops it so it isn’t needed any more.

On the main timeline, insert this code:

We create a function called ‘EF’ (EnterFrame) which will be executed once every frame.
In this function, we create a variable called ‘effect’ in the ‘Effect’ class. You created the ‘Effect’ class when you selected ‘Export for Actionscript’. In other words, we’re creating a new MC based on the ‘Effect’ instance.
This MC needs to be visible, so we add the child so it can now be viewed by the viewer.
The next lines determine what happens to the effect just as it has been created. Here, we set the effect’s x and y positions to the mouse, and make the rotation random from 0 to 360. You can change or add code to this if you want, you could make the x and y positions random or whatever.

Finally we add a listener to the function, the listener type is ‘ENTER_FRAME’ (so it’s executed each frame) and the name of the function is ‘EF’.

Export your movie and see what you came up with! You can try out tons of effects, just experiment a little.

AS2 Version

First create a blank MC with an instance name of ‘effect’ (no quotes). Click on ‘Advanced’ (if you haven’t already) and select ‘Export for Actionscript’. Click OK. Now you have to create a simple animation that will be the basis of the effect.

Create a blank keyframe after the last frame of the animation, and put this code there:

This removes the MC so it isn’t needed anymore.

On the main timeline, insert this code:

The variable ‘i’ is set to zero. This will be the basis for uniquely naming MCs and giving them a unique depth.

The ‘onEnterFrame’ function executes the code within it each frame.

‘i++’ means 1 is added onto ‘i’ each frame, so it will go from 1 to 2, 3, 4, etc.
Then we create and effect MC and the MC we made in the library is attached to it, with a unique depth and name of whatever ‘i’ is. With this MC, we set the x and y to the mouse’s position, and give it a random rotation. You can do whatever you want here.

Export your movie and see what you came up with! You can try out tons of effects, just experiment a little.

Tags:

188 Responses to “New Blog, Cursor Effects”

  1. Jessie Says:

    flash game tutorials…

    Six Apart started a working group in February 2006 to improve the Trackback protocol with the goal to eventually have it approved as…

  2. tgofuayhm qwry Says:

    aktqrvlob ohtnc rpqnft ixnsycqz aiurkvg szfcuatd oixg

  3. jkzd pgbqurfmh Says:

    vkbzlqypo rpqa fbdmrojg cubmzsto opvdcmhu zsuq hkrbzqnvc

  4. shedTaday Says:

    Hi,
    I am a 29 years old girl, in love wth life, so I have many hobbies: going out with my friends,practice some sports (tennis), go our in the evening to a disco, so all the things that ladies like me do all the time. I also have a true love for cannabis . It’ a recent passion but very deep.I like to stay at my place an
    d burn it a lot. I hope that one day we will party all together. What do you think about it?
    see ya,
    Terry

  5. sprachcaffe malta Says:

    thanks a lot for this nice web site. it would be better with other languages, bur thanks..

  6. Rax Says:

    (In China, control is by ,

  7. judoka Says:

    speed and are you going to allow ,

  8. Ken Says:

    All of your videos are available to everyone, ,

  9. Sarah Says:

    than this editortube in less than a year. ,

  10. Ded Mazai Says:

    Any possibility of this in the future? Thank you.,

  11. Luetta Mcglone Says:

    I agree with andyee2, you need ,

  12. Phill Yasen Says:

    I hope you will take frequent moments ,

  13. Dana Says:

    to get views having more featured areas. ,

  14. Thyslell Says:

    thats it, dude

  15. Free Flash Movie Clip Says:

    I found your site on faves.com bookmarking site.. I like it ..gave it a fave for you..ill be checking back later

  16. fluoxet Says:

    [url=http://fluoxetine.wikispaces.com/]fluoxetine zoloft
    [/url]

  17. flagyl Says:

    [url=http://einstein.phys.uwm.edu/view_profile.php?userid=347072]metronidazole cost
    [/url]

  18. tadalya Says:

    [url=http://www.xanga.com/tadalafil_cialis]tadalafil overnight[/url]

  19. bokBussy Says:

    thats for sure, dude

  20. John1549 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14159/2.html]cheap cialis[/url]

  21. John1549 Says:

    Very nice site!
    [LINK http://training.cvc4.org/pharm1/14159/3.htmlcheap tramadol[/LINK]

  22. John1549 Says:

    Very nice site!
    http://training.cvc4.org/pharm1/14159/4.html

  23. John308 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14160/2.html]cheap cialis[/url]

  24. John308 Says:

    Very nice site!
    [LINK http://training.cvc4.org/pharm1/14160/3.htmlcheap tramadol[/LINK]

  25. John308 Says:

    Very nice site!
    http://training.cvc4.org/pharm1/14160/4.html

  26. John308 Says:

    Very nice site!

  27. John956 Says:

    Perfect work!
    http://extjs.com/forum/member.php?u=50525

  28. John758 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14161/2.html]cheap cialis[/url]

  29. John758 Says:

    Very nice site!
    [LINK http://training.cvc4.org/pharm1/14161/3.htmlcheap tramadol[/LINK]

  30. John758 Says:

    Very nice site!
    http://training.cvc4.org/pharm1/14161/4.html

  31. John758 Says:

    Very nice site!

  32. John956 Says:

    Incredible site!
    http://extjs.com/forum/member.php?u=50525

  33. John956 Says:

    I want to say - thank you for this!
    http://extjs.com/forum/member.php?u=50525

  34. John956 Says:

    Beautiful site!
    http://extjs.com/forum/member.php?u=50525

  35. John956 Says:

    Excellent site. It was pleasant to me.
    http://extjs.com/forum/member.php?u=50525

  36. John956 Says:

    Very interesting site. Hope it will always be alive!
    http://extjs.com/forum/member.php?u=50525

  37. John956 Says:

    I bookmarked this guestbook. Thank you for good job!
    http://extjs.com/forum/member.php?u=50525

  38. John1468 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14162/2.html]cheap cialis[/url]

  39. John1468 Says:

    Very nice site!
    http://training.cvc4.org/pharm1/14162/4.html

  40. John1468 Says:

    Very nice site!

  41. John956 Says:

    Great site. Keep doing.
    http://extjs.com/forum/member.php?u=50525

  42. John956 Says:

    If you have to do it, you might as well do it right
    http://extjs.com/forum/member.php?u=50525

  43. John956 Says:

    Great .Now i can say thank you!
    http://extjs.com/forum/member.php?u=50525

  44. John956 Says:

    Great work,webmaster,nice design!
    http://extjs.com/forum/member.php?u=50525

  45. John956 Says:

    Perfect site, i like it!
    http://extjs.com/forum/member.php?u=50525

  46. John956 Says:

    It is the coolest site,keep so!
    http://extjs.com/forum/member.php?u=50525

  47. John956 Says:

    Nice site! Thank you!
    http://extjs.com/forum/member.php?u=50525

  48. John890 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14164/2.html]cheap cialis[/url]

  49. John890 Says:

    Very nice site!
    [LINK http://training.cvc4.org/pharm1/14164/3.htmlcheap tramadol[/LINK]

  50. John890 Says:

    Very nice site!

  51. Arrorsect Says:

    Hi!
    My name is Jessika!

  52. John956 Says:

    Great site. Good info
    http://extjs.com/forum/member.php?u=50525

  53. urw5ls6helwbh5oemfi Says:

    http://gogle.com google

  54. John637 Says:

    Excellent site. It was pleasant to me.
    http://www.tetongravity.com/forums/member.php?u=23007

  55. John637 Says:

    Perfect work!
    http://www.tetongravity.com/forums/member.php?u=23007

  56. John637 Says:

    Great site. Keep doing.
    http://www.tetongravity.com/forums/member.php?u=23007

  57. John637 Says:

    It is the coolest site,keep so!
    http://www.tetongravity.com/forums/member.php?u=23007

  58. John637 Says:

    Beautiful site!
    http://www.tetongravity.com/forums/member.php?u=23007

  59. John637 Says:

    Great .Now i can say thank you!
    http://www.tetongravity.com/forums/member.php?u=23007

  60. John1372 Says:

    Very interesting site. Hope it will always be alive!
    http://www.tetongravity.com/forums/member.php?u=23007

  61. John1372 Says:

    Great work,webmaster,nice design!
    http://www.tetongravity.com/forums/member.php?u=23007

  62. John1372 Says:

    Perfect site, i like it!
    http://www.tetongravity.com/forums/member.php?u=23007

  63. John956 Says:

    It is the coolest site,keep so!
    http://boards.sonypictures.com/boards/member.php?u=55461

  64. John956 Says:

    I bookmarked this guestbook. Thank you for good job!
    http://boards.sonypictures.com/boards/member.php?u=55461

  65. John978 Says:

    Nice site! Thank you!
    http://www.tetongravity.com/forums/member.php?u=23007

  66. John897 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14169/2.html]cheap cialis[/url]

  67. John897 Says:

    Very nice site!
    [LINK http://training.cvc4.org/pharm1/14169/3.htmlcheap tramadol[/LINK]

  68. John897 Says:

    Very nice site!
    http://training.cvc4.org/pharm1/14169/4.html

  69. John978 Says:

    If you have to do it, you might as well do it right
    http://www.tetongravity.com/forums/member.php?u=23007

  70. John956 Says:

    Great site. Good info
    http://boards.sonypictures.com/boards/member.php?u=55461

  71. John978 Says:

    Incredible site!
    http://www.tetongravity.com/forums/member.php?u=23007

  72. John978 Says:

    Great site. Good info
    http://www.tetongravity.com/forums/member.php?u=23007

  73. John956 Says:

    I want to say - thank you for this!
    http://boards.sonypictures.com/boards/member.php?u=55461

  74. John956 Says:

    Perfect work!
    http://boards.sonypictures.com/boards/member.php?u=55461

  75. John956 Says:

    Excellent site. It was pleasant to me.
    http://boards.sonypictures.com/boards/member.php?u=55461

  76. John956 Says:

    Great .Now i can say thank you!
    http://boards.sonypictures.com/boards/member.php?u=55461

  77. John978 Says:

    I bookmarked this guestbook. Thank you for good job!
    http://www.tetongravity.com/forums/member.php?u=23007

  78. John1683 Says:

    Perfect site, i like it!
    http://boards.sonypictures.com/boards/member.php?u=55461

  79. John1683 Says:

    Beautiful site!
    http://boards.sonypictures.com/boards/member.php?u=55461

  80. John978 Says:

    I want to say - thank you for this!
    http://www.tetongravity.com/forums/member.php?u=23007

  81. John1683 Says:

    Great site. Keep doing.
    http://boards.sonypictures.com/boards/member.php?u=55461

  82. John1683 Says:

    Very interesting site. Hope it will always be alive!
    http://boards.sonypictures.com/boards/member.php?u=55461

  83. John1683 Says:

    Great work,webmaster,nice design!
    http://boards.sonypictures.com/boards/member.php?u=55461

  84. John1683 Says:

    Nice site! Thank you!
    http://boards.sonypictures.com/boards/member.php?u=55461

  85. John1683 Says:

    Incredible site!
    http://boards.sonypictures.com/boards/member.php?u=55461

  86. John1683 Says:

    If you have to do it, you might as well do it right
    http://boards.sonypictures.com/boards/member.php?u=55461

  87. John981 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14172/2.html]cheap cialis[/url]

  88. John981 Says:

    Very nice site!
    [LINK http://training.cvc4.org/pharm1/14172/3.htmlcheap tramadol[/LINK]

  89. John981 Says:

    Very nice site!
    http://training.cvc4.org/pharm1/14172/4.html

  90. srytry Says:

    http://angieeverhart.hi5.com/

  91. FDGFDH Says:

    http://SuzanneStokes.hi5.com/

  92. jhonyahoo Says:

    bag red girl elephant university girl german wood all

  93. lettermicros Says:

    girl deliver usa tom yes tree keyboard water

  94. AdulBandul Says:

    Hi there!
    My first post at this great blog!
    I wanna show u my dayly updated blog: Amateur Topless Teen
    Have a nice day!
    BB!

    P.S. if you don’t want to see this message please write me to no.ads08@gmail.com with subject “NO ADS” and URL of your forum
    Thank you for cooperation!

  95. FancyYork Says:

    [URL=http://cheapdownload.org/info-Adobe_Pagemaker_7.html]full version Adobe Pagemaker 7 software[/URL]

  96. john2025 Says:

    zBAtMF hi webmastters

  97. Infirefrerm Says:

    Hmmm… I can be ticklish about my rare characteristic I have a nice joke for you people! :) Which of these things don’t belong: A tuna, a lobster, or a Chinese guy run over by a truck? The tuna. The other two are crustaceans. I wanna to have a good time, Lets speack about something!

  98. MarioKnesser Says:

    [URL=http://downloads-cheap.com/info-Adobe_Acrobat_Distiller_6.html]where to buy full version Adobe Acrobat Distiller 6[/URL]

  99. iohnuoyc Says:

    iohnuoyc…

    iohnuoyc…

  100. nhZnkuvrjA Says:

    ZzZtVd

  101. HQDNqfYzaxMImPjwD Says:

    sjddBU

  102. NikkyBlond Says:

    Enjoyed your site very much! Thank you! Keep up a good work! :-))

  103. ZRHsTBRhTinEs Says:

    d3CF0L

  104. MadMark Says:

    [URL=http://oemstore.biz/info-Adobe_Flash_CS3_Professional.html]Adobe Flash CS3 Professional[/URL]

  105. XgpqWGfBW Says:

    o0skRI

  106. Lizzy Says:

    Hi there!
    My first post at this great blog!
    First i want 2 say that u r f@$# awesome!
    Have a nice day!
    EH!

  107. Peter Says:

    Hi, I think that you is overdid. To look to bredshika, please.
    glucophage and weight lose

  108. Bobi Says:

    Where did you collect this information? Very doubtfully. Chichubacha!
    medicins tramadol

  109. John981 Says:

    I bookmarked this guestbook. Thank you for good job!
    http://forums.tvgasm.com/member.php?u=11790

  110. John981 Says:

    Beautiful site!
    http://forums.tvgasm.com/member.php?u=11790

  111. John1649 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14190/2.html]cheap cialis[/url]

  112. John1649 Says:

    Very nice site!
    [LINK http://training.cvc4.org/pharm1/14190/3.htmlcheap tramadol[/LINK]

  113. John1649 Says:

    Great work,webmaster,nice design!
    http://forums.tvgasm.com/member.php?u=11790

  114. John1649 Says:

    Great .Now i can say thank you!
    http://forums.tvgasm.com/member.php?u=11790

  115. John1649 Says:

    Perfect work!
    http://forums.tvgasm.com/member.php?u=11790

  116. John1649 Says:

    It is the coolest site,keep so!
    http://forums.tvgasm.com/member.php?u=11790

  117. John1649 Says:

    Great site. Good info
    http://forums.tvgasm.com/member.php?u=11790

  118. John1649 Says:

    Incredible site!
    http://forums.tvgasm.com/member.php?u=11790

  119. John1649 Says:

    Perfect site, i like it!
    http://forums.tvgasm.com/member.php?u=11790

  120. John1649 Says:

    Very interesting site. Hope it will always be alive!
    http://forums.tvgasm.com/member.php?u=11790

  121. John1649 Says:

    Great site. Keep doing.
    http://forums.tvgasm.com/member.php?u=11790

  122. John1649 Says:

    If you have to do it, you might as well do it right
    http://forums.tvgasm.com/member.php?u=11790

  123. John1649 Says:

    I want to say - thank you for this!
    http://forums.tvgasm.com/member.php?u=11790

  124. SweetCaroline Says:

    [URL=http://downloadableoem.com/info-Macromedia_Dreamweaver_MX_2004.html]downloadable Macromedia Dreamweaver MX 2004 software[/URL]

  125. John1649 Says:

    Nice site! Thank you!
    http://forums.tvgasm.com/member.php?u=11790

  126. mebmasters Says:

    CCHUOP hi mebmasters

  127. John464 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14193/2.html]cheap cialis[/url]

  128. John464 Says:

    Very nice site!
    http://training.cvc4.org/pharm1/14193/4.html

  129. John464 Says:

    Excellent site. It was pleasant to me.
    http://forums.tvgasm.com/member.php?u=11790

  130. standy Says:

    Ii2Hts bnnLst19hdY6llAd3fg6

  131. John663 Says:

    Beautiful site!
    http://forum.indya.com/member.php?u=131380

  132. John663 Says:

    It is the coolest site,keep so!
    http://forum.indya.com/member.php?u=131380

  133. John663 Says:

    Great .Now i can say thank you!
    http://forum.indya.com/member.php?u=131380

  134. John663 Says:

    Great site. Keep doing.
    http://forum.indya.com/member.php?u=131380

  135. John663 Says:

    Excellent site. It was pleasant to me.
    http://forum.indya.com/member.php?u=131380

  136. John663 Says:

    Perfect site, i like it!
    http://forum.indya.com/member.php?u=131380

  137. John663 Says:

    Perfect work!
    http://forum.indya.com/member.php?u=131380

  138. John663 Says:

    Very interesting site. Hope it will always be alive!
    http://forum.indya.com/member.php?u=131380

  139. John663 Says:

    I bookmarked this guestbook. Thank you for good job!
    http://forum.indya.com/member.php?u=131380

  140. Lapsiks Says:

    [URL=http://cheapdownload.org/info-Cakewalk_Sonar_4_Producer_Edition.html]Cakewalk Sonar 4 Producer Edition software[/URL]

  141. John663 Says:

    If you have to do it, you might as well do it right
    http://forum.indya.com/member.php?u=131380

  142. John663 Says:

    Incredible site!
    http://forum.indya.com/member.php?u=131380

  143. John663 Says:

    Great work,webmaster,nice design!
    http://forum.indya.com/member.php?u=131380

  144. John1535 Says:

    It is the coolest site,keep so!
    http://www.rc411.com/forum/member.php?u=18196

  145. John663 Says:

    Nice site! Thank you!
    http://forum.indya.com/member.php?u=131380

  146. John1535 Says:

    I bookmarked this guestbook. Thank you for good job!
    http://www.rc411.com/forum/member.php?u=18196

  147. John1535 Says:

    Perfect site, i like it!
    http://www.rc411.com/forum/member.php?u=18196

  148. John1535 Says:

    Great site. Keep doing.
    http://www.rc411.com/forum/member.php?u=18196

  149. John663 Says:

    I want to say - thank you for this!
    http://forum.indya.com/member.php?u=131380

  150. John1535 Says:

    Incredible site!
    http://www.rc411.com/forum/member.php?u=18196

  151. John1535 Says:

    Excellent site. It was pleasant to me.
    http://www.rc411.com/forum/member.php?u=18196

  152. John1535 Says:

    Great site. Good info
    http://www.rc411.com/forum/member.php?u=18196

  153. John1535 Says:

    Nice site! Thank you!
    http://www.rc411.com/forum/member.php?u=18196

  154. John663 Says:

    Great site. Good info
    http://forum.indya.com/member.php?u=131380

  155. John1535 Says:

    Beautiful site!
    http://www.rc411.com/forum/member.php?u=18196

  156. John1535 Says:

    Great work,webmaster,nice design!
    http://www.rc411.com/forum/member.php?u=18196

  157. JessicaLynn Says:

    ! :-)) Keep up a good work!

  158. John1535 Says:

    I want to say - thank you for this!
    http://www.rc411.com/forum/member.php?u=18196

  159. John1535 Says:

    Great .Now i can say thank you!
    http://www.rc411.com/forum/member.php?u=18196

  160. John1535 Says:

    Perfect work!
    http://www.rc411.com/forum/member.php?u=18196

  161. John520 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14196/2.html]cheap cialis[/url]

  162. John520 Says:

    Very nice site!
    [LINK http://training.cvc4.org/pharm1/14196/3.htmlcheap tramadol[/LINK]

  163. John520 Says:

    Very nice site!
    http://training.cvc4.org/pharm1/14196/4.html

  164. John1535 Says:

    Very interesting site. Hope it will always be alive!
    http://www.rc411.com/forum/member.php?u=18196

  165. Lapsiks Says:

    [URL=http://cheapdownload.org/info-Adobe_Premiere_PRO_2.0.html]box oem Adobe Premiere PRO 2.0[/URL]

  166. John1535 Says:

    If you have to do it, you might as well do it right
    http://www.rc411.com/forum/member.php?u=18196

  167. John1412 Says:

    Excellent site. It was pleasant to me.
    http://www.scam.com/member.php?u=99800

  168. John1412 Says:

    I want to say - thank you for this!
    http://www.scam.com/member.php?u=99800

  169. John1412 Says:

    Great site. Keep doing.
    http://www.scam.com/member.php?u=99800

  170. John1124 Says:

    Very nice site!
    [url=http://training.cvc4.org/pharm1/14197/2.html]cheap cialis[/url]

  171. John1124 Says:

    Very nice site!
    http://training.cvc4.org/pharm1/14197/4.html

  172. John1124 Says:

    Very nice site!

  173. John1412 Says:

    It is the coolest site,keep so!
    http://www.scam.com/member.php?u=99800

  174. John1412 Says:

    Perfect work!
    http://www.scam.com/member.php?u=99800

  175. Swdhkjmt Says:

    Nice day,

  176. John1412 Says:

    Very interesting site. Hope it will always be alive!
    http://www.scam.com/member.php?u=99800

  177. John1412 Says:

    Beautiful site!
    http://www.scam.com/member.php?u=99800

  178. John1412 Says:

    Great .Now i can say thank you!
    http://www.scam.com/member.php?u=99800

  179. John1412 Says:

    If you have to do it, you might as well do it right
    http://www.scam.com/member.php?u=99800

  180. asdasd Says:

    7Rv53O hi all webmasters

  181. John1412 Says:

    Perfect site, i like it!
    http://www.scam.com/member.php?u=99800

  182. John1412 Says:

    I bookmarked this guestbook. Thank you for good job!
    http://www.scam.com/member.php?u=99800

  183. John1412 Says:

    Great site. Good info
    http://www.scam.com/member.php?u=99800

  184. John1412 Says:

    Incredible site!
    http://www.scam.com/member.php?u=99800

  185. John1412 Says:

    Nice site! Thank you!
    http://www.scam.com/member.php?u=99800

  186. DominikKoehleru Says:

    Hi there!
    My first post at this great blog!
    I wanna show u my dayly updated blog: Whole Ass Amateur
    P.S. if you don’t want to see this message please write me to no.ads08@gmail.com with subject “NO ADS” and URL of your forum
    Thank you for cooperation!

  187. DominikKoehlerun Says:

    My first post at this great blog!
    I wanna show u my dayly updated blog: Whole Ass Amateur
    P.S. if you don’t want to see this message please write me to no.ads08@gmail.com with subject “NO ADS” and URL of your forum
    Thank you for cooperation!

  188. John963 Says:

    Great work,webmaster,nice design!
    http://www.scam.com/member.php?u=99800

Leave a Reply