A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Image fade animation effect

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    12

    Image fade animation effect

    Hello, folks. It's about time I've joined this forum, I don't think I'll ever figure out Flash purely on my own -- especially when it comes to working with scripts.

    First, I'll say I looked through several pages in here and didn't see anything quite hitting on what I'm looking for, so here's the problem I'm trying to work through:

    Let's say I have a Flash button with an animation that plays when you hover your cursor over the button. That's easy enough to do. But what I want it to do is play the same animation when I move the cursor away, but run it in reverse. I have attached an example file I've been working with so you can maybe see what I'm talking about. Pictures are always helpful.
    Attached Files Attached Files

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    to play in reverse, just use an enterFrame loop with a gotoAndStop(_currentframe-1), of course, if(_currentframe>'frame number that it is supposed to stop')

    gparis

  3. #3
    Member
    Join Date
    May 2007
    Location
    Philippines, Cebu City
    Posts
    31

  4. #4
    Junior Member
    Join Date
    Aug 2007
    Posts
    12
    Thanks guys, your help has been much appreciated. I'm still only moderately comfortable with Flash, so it takes a little while for me to absorb everything.

    Thanks, emailroy2002, for setting that up for me. I am most grateful. This should be easier to study.

  5. #5
    Member
    Join Date
    May 2007
    Location
    Philippines, Cebu City
    Posts
    31
    No Problem...

  6. #6
    Junior Member
    Join Date
    Sep 2007
    Posts
    1
    nice one master emailroy2002

    bantog ra taas ug hits site nimo

  7. #7
    Member
    Join Date
    May 2007
    Location
    Philippines, Cebu City
    Posts
    31
    thanx, Lord Cyrus...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center