A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: smooth-transition buttons

  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    7

    smooth-transition buttons

    hi

    i have a question.

    i'm trying to build smooth-transition buttons. meaning...suppose you have two or more rectagular panels, each one (for example) links to a different product. what i want is this: when i roll over one of the panels, it begins to fade from one color to another color. now, how can i write the code so that when i roll out of the same rectangle, the color fades backward to its original state, but in incremental fashion from the point of my curser rolling out of the rectangle?

    for example, when i roll over a rectangle, the color fades from black to red. but before it reaches red, i roll out. i want the rectangle to go backward from its present state to its original state, i.e., go back to black.

    does this make sense?

    any assistance will be greatly appreciated.

    thanks.
    george

  2. #2
    Senior Member advance-media's Avatar
    Join Date
    Jan 2003
    Location
    URGENT: Germany but I'd like to work, live somewhere else, please help!
    Posts
    109
    I just did publish a movie about this smooth transition effect but for input fields.
    It all comes down to the following flash functions:
    prevFrame();
    nextFrame();

    Here is my script:
    http://www.flashkit.com/movies/Inter...8092/index.php

    Best wishes
    http://www.advance-media.com

  3. #3
    Junior Member
    Join Date
    May 2001
    Posts
    7
    hi advance media

    could you clarify a bit more.

    i looked at your example, it looks great. that's what i want to accomplish with mine. but i'm a bit lost with all the code in your example.

    could you simplify the concept a bit.

    thanks.
    george

  4. #4
    Senior Member advance-media's Avatar
    Join Date
    Jan 2003
    Location
    URGENT: Germany but I'd like to work, live somewhere else, please help!
    Posts
    109
    I exactely found what you are looking for!

    Let me give this really simple .fla to you
    to answere all all your open questions!
    Attached Files Attached Files

  5. #5
    I don't like labels.
    Join Date
    Oct 2003
    Location
    Jupiter, FL
    Posts
    24

    playing forward and backward

    There is a very good tutorial about this in the tutorials section of this site. Just go to the tutorials sections and type either button play forwards and backwards or button animate forward and backwards. You will know you found the right one when the example in the tutorial is a blue circle. Its very simple and easy to alter for your own needs.

  6. #6
    Senior Member advance-media's Avatar
    Join Date
    Jan 2003
    Location
    URGENT: Germany but I'd like to work, live somewhere else, please help!
    Posts
    109
    HEY, I have published another .fla about this subject. It's a simple navigation shwing how to play movies backward and forward + a function that provides the interactivity!

    PLZ have a look:
    http://www.flashkit.com/movies/Inter...8807/index.php


    BY
    http://www.advance-media.com

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