I have thumbnails of pictures (which are buttons inside a
movie clip) and I want them to have a white border on:
1) RollOver
2) When buttons the main timeline that correspond to each
thumb (i.e., interact_btn, watch_btn, read_btn, listen_btn &
watch_btn) are pressed
Here's
what it looks like so far.
Here's an example of my code for each thumbnail (i.e.,
img1_btn):
img1_btn.onRollOver = function(){
this._alpha = 100;
_parent.read_btn._alpha = 100;
_parent.listen_btn._alpha = 100;
_parent.watch_btn._alpha = 100;
_parent.see_btn._alpha = 100;
_parent.interact_btn._alpha = 100;
}
img1_btn.onRollOut = function(){
if(allowRollOut == true){
this._alpha = 40;
_parent.read_btn._alpha = 40;
_parent.listen_btn._alpha = 40;
_parent.watch_btn._alpha = 40;
_parent.see_btn._alpha = 40;
_parent.interact_btn._alpha = 40;
} else {
this._alpha = 100;
_parent.read_btn._alpha = 100;
_parent.listen_btn._alpha = 100;
_parent.watch_btn._alpha = 100;
_parent.see_btn._alpha = 100;
_parent.interact_btn._alpha = 100;
}
}
I've seen in other pages people have used the _border
property, but I'm not sure how to use it.
I tried adding it as I did the _alpha but that didn't work.
Any hints?
Thanks.