Circle Animation to Mouse Move event in Flash using AS3.0 - Flash Tutorials

VerkkoNetPublished: August 10, 2017
Published: August 10, 2017

This video tutor is about creating nice effect to the mouse cursor in flash using AS3.0 Code

Website: http://samsolomonprabu.com/

Here's the source code:
---------------------------
import flash.display.MovieClip;
import flash.events.Event;

stage.addEventListener(Event.ENTER_FRAMEĀ­, circleEffect);

function circleEffect(e:Event):void{
for(var i:int = 0; i - 4; i++){
var obj:circle = new circle();
obj.x = mouseX;
obj.y = mouseY;
obj.rotation = Math.random() * 360;
stage.addChild(obj); }
}

Recommend tags
  • action script programming+1
  • as3+1
  • adobe flash+1
  • flash tutorials+1

action script programmingas3adobe flashflash tutorials

Comments

0 comments