1.)
In this tutorial I will show you how to toggle the visibility
and transparencey(alpha) of a movieclip.
-----------------------
-----------------------
In
this tutorial You need the following:
actions
panel
actionscript symbol
symbol to be tested
.
3.)
Sometimes
when working in a game, you need to make invisible symbols
for smaller hitAreas, and invisible walls, etc.. Well
first of all.. Make your symbol, and give it an instance
name in the properties panel. .
-----------------------
-----------------------
4.)
Click
on your actionscript symbol, and assign actionscript
to control the alpha of your movie clip with the _alpha
extension keyword.
You assign how much transparency you want by percentage.
_root.instanceName._alpha = 100; would be completely
visible,
_root.instanceName._alpha = 0; would be completely invisible.
So put code in, and assign how much transparency you
want to assign. I have chose _alpha = 50, for transparencey
of the object will be 50%.
}