video.Maru
by polyGeek polyGeek logo



 

Rollover effects for linkBTNs

December 9th, 2007 . by polyGeek

If you would like to create simple rollOver effects for the linkBTNs then just do this:

  • Inside the linkBTN create a MovieClip and give it an instance name of over.

The over MovieClip will play when the user rolls the mouse over the linkBTN. And it will play backwards when the user rolls the mouse off of the linkBTN. This works for linkBTNs that are placed on the stage or created at runtime via XML.

Here’s an example ( download source )

You’ll need the latest version of video.Maru for this to work.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Technorati
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon

2 Responses to “Rollover effects for linkBTNs”

  1. comment number 1 by: bo

    hi there great work very complex and yet simple for the user
    with your over off button it doesnt seem to consistently work i.e. functionality seems to be intermittant
    and also stop all together
    is it in as3
    can you give me any pointers

    thanks in advance

    bo

  2. comment number 2 by: polyGeek

    @Bo, video.Maru is written in AS2. So it’s not going to work at all in AS3. There might be an AS3 version out that is similar to video.Maru in the next few months.

Leave a Reply

Name

Mail (never published)

Website