Hi,
I have a big problem…I’m quite new with AS3…
I have different thumbnails…when the mouse is out alpha:0.3, when is over alpha:1, when is click I want they stay alpha:1…but mouse out take over my function…what can I do?:
private function m_over(e:MouseEvent):void {
buttonMode=true;
TweenLite.to(e.target,1,{alpha:1});
}
public function m_out(e:MouseEvent):void {
TweenLite.to(e.target,1,{alpha:0.3});
}
private function m_click(e:MouseEvent):void {
picturePosition=e.target.id;
for (var i:int; i<showThumb.length; i++) {
TweenLite.to(showThumb*,1,{alpha:0.3});
}
TweenLite.to(showThumb[picturePosition],1,{alpha:1});
…
Thanks!!!