A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] Is it possible to Fade & Snap an image to a path?

  1. #1
    Junior Member
    Join Date
    Oct 2006
    Posts
    26

    [F8] Is it possible to Fade & Snap an image to a path?

    Hi, I am trying to snap an image to a path and try to fade it out as it gets to the end of the path? Is this possible. I can snap the image to the path, but don't see where I can change the settings to make it fade also as it is moving. I was just wondering if this is even possible? Thanks in advance!

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    when you let go (or whenever you want) you cold put a simple "IF" statement on it.

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

  3. #3
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    The if statment needs to be in an enterframe event to work more than once.

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