frosty5656
asked on
hide/show layer useing action script?
i would like to know how to hide or show a layer useing action script.
thx.
thx.
flash layer or html layer?
hi,
first of all give your layer a name
for example your layers name is home
then
under your button event of keyframe
write down:
home._visible=true;
or to hide
home._visible=false;
inshort :
<layername>._visible=true/ false;
thank you
first of all give your layer a name
for example your layers name is home
then
under your button event of keyframe
write down:
home._visible=true;
or to hide
home._visible=false;
inshort :
<layername>._visible=true/
thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
too bad layers can't be hidden :(
don't think layers..think movieclips..and they can be..
just reverse the code above to have the clip hide on the stage..and then show on rollover.
Z
just reverse the code above to have the clip hide on the stage..and then show on rollover.
Z