-
blinking problem
i have a movie clip which is an owl, and the eyes of the owl is also a movie clip inside the first one. the thing is i want to make blink with action script.
here's my script...
onClipEvent(load){
onEnterFrame.this;
x==1;
if(x<120){
x++;
}else if(x>120 && x<160){
x++;
eyes._alpha ==100;
}else {
x==1;
}
}
}
i can't seem to get it right. can someone pls help me.
thankyou!
-
FK's Geezer Mod
Try something like this;
onClipEvent(load){
x=1;
}
onClipEvent(enterFrame){
if(x<=120){
x++;
}else if(x>=120 && x<=160){
x++;
_root.eyes._alpha =100;
}else {
x=1;
}
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|