First ,
we have to import the flash filter
import flash.filters.DropShadowFilter;
Now create a runtime Movieclip as
let we create a box make a sixe of x and y as 50
here the code:
this.createEmptyMovieClip('Box',2)
with (Box)
{
beginFill(0x000000, 100);
moveTo(0, 0);
lineTo(100, 0);
lineTo(100, 100);
lineTo(0, 100);
lineTo(0, 0);
endFill();
}
Box._x = 50
Box._y = 100
and then
in that EnterFrame we have to give the value.. and call the variable
and make values as Dynamic text
Here the code as,
Box.onEnterFrame = function()
{
ds.quality++
Box.filters = [ds]
_root.reson.text = ' For Box : The Drop Shadow option Distance = 2, Angle = 45 degree , Color = 0x66FF33, Alpha = 1, Blur X = 5 Blur Y = 5 Strength = 2 , Qulaity = 3 Inner = false, Knock-out = false, HideObject = false';
}
var ds = new DropShadowFilter (2,45,0x66FF33,0.8,5,5,2,3,false,false,false);
Have a joy with Filter....
Thanxs!....
Tuesday, January 8, 2008
-
make text unselectable CSS Code 1 2 3 4 -webkit-user-select: none; /* Safari */ -moz-user-select: none; /* Firefox */ -ms-user-sele...
-
In actionScript, we discus abt the worddrag... In this, first we have create a EmptyMovieClip for store a words... in the listItem Array...
-
Compar : ReactJS vs AngularJS Choosing the right framework for a new JavaScript system, application or website is a top priority for an...
-
Blur Filter: Now, we see the blur Filter Examples... Now we have create a movie clip and give instance name as reflec... Main screen 1: Movi...
-
R eact is a front-end library developed by Facebook. It is used for handling the view layer for web and mobile apps. ReactJS allows u...
0 comments:
Post a Comment