Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

blinking movie clips

Status
Not open for further replies.
The "flash" that occurs when the clips change or pop in is a short tween in which the brightness of the clip is raised to 100, followed by the introduction of the new image.(or new clip).

-Terwin
 
You wouldn't have to use a tween though, you could use AS, which would probably be more reliable. Just set up something simple like:
Code:
onClipEvent ( enterFrame ) {

  this._alpha += 5;

  if ( this._alpha >= 90 ) {
    this._alpha -= 5;
  }

  if ( this._alpha <= 10 {
    this._alpha += 5;
  }

}

Of course you can change the rate of the blink by increasing or decreasing the 5, which is usually called your speed. You can also change how low and how high the alpha rises and drops.

To make it happen to a button, you just use on ( rollover ) {.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top