Hot on the heels of our Perfect Alpha Reflections Quick Tip comes this excellent utility class for dynamically reflecting your display objects, courtesy of Martin Christov.
How do I use it?
Step 1:
Copy the ReflectEffect.as file into the classpath of your Flash project (or the same directory as your FLA if you’re not using classpaths).
Step 2:
In your code, create a new instance of the ReflectEffect class, passing it the display object that you want it to reflect, like so:
var reflect:ReflectEffect = new ReflectEffect(movieClipToReflect);
Step 3:
Tags:
CD,
fil,
Flash,
GET,
HTML,
image,
images,
IP,
LP,
Source,
tag
lør, feb 13, 2010
Kommentarer slået fra