In this tutorial, with the help of actionscript, we shall draw a star, fill color to it and provide outer glow to the same. We shall also include actionscript event to change glow color.
Select frame 1 and paste the below code in the actions window.
|
import flash.filters.GlowFilter;
|
Press Ctrl+Enter to view Glow effect.
Explanation to the code above
First and foremost we will need to import flash.filters package which contains classes for the bitmap filter effects|
import flash.filters.GlowFilter; |
|
var mc:MovieClip = createglowstar("glowstarColor");
|
|
mc.onRelease = function()
|
![]() |
Download Free Photo Gallery
You can download Imajine's Scrapbook Photo Gallery absolutely free of cost and to customize , you need no knowledge of Adobe Flash. Click here to view Scrapbook Photo Gallery / download |
Team Imajine is a good mix of design and code –with an eye for detail and strong belief in accessibility and usability. We are a web design and development boutique firm focusing on generating a strong online presence and visibility for our customers.
Apart from web design, logo design, content management systems, print and web development services, Imajine’s creative portfolio extends to photography, game programming and tutorial development (CSS3, HTML5, illustrator, Adobe Fireworks, Adobe Photoshop and Adobe Flash).
Leveraging on latest web technologies, we at Imajine adopt a progressive approach to design, develop and innovate affordable solutions with increased returns and enhanced business perceptions.
Looking for affordable web solutions? Contact Imajine to initiate a discussion on your web requirements.