Rollover Effect
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Rollover Effect

  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    3
    I saw a site which has a funky rollover effect I really like. Unbeknownst to me it's more difficult to achieve than I thought.

    http://www.messychestnut.com/flash/index.html

    I tried making the squares as buttons but my rollover image gets lost below the button beside it. Urrrgh.

    I tried sending the play head to another frame for each but can't get figure out how to send the play head back once the mouse rolls off the image ... granted I'm a beginner.

    If anyone can guide me I'd be super grateful.

    Thanx - W


  2. #2
    Senior Member
    Join Date
    Jul 2001
    Posts
    139

    Post this is done by

    Check out this movie for the fla.
    http://www.flashkit.com/movies/Inter...26/index.shtml

    Hope that helps you out Topic gwendula.

  3. #3
    Plutarian(From Pluto, stupid!) kitchee's Avatar
    Join Date
    Aug 2001
    Posts
    438

    button

    Try making a button within a movie clip. Each MC will be an idividual picture in the series.

    In the MC's timeline> (select the MC and go to EDIT and then choose EDIT SELECTED.
    make two layers...
    1) being the button (transparent covering the the pic in frame 1, layer 2
    2) being the small photo on frame 1 and the roll over photo on 2 ( each frame with a stop action)

    next extend the button timeline across the frames 1 and 2.

    Right click the the button graphic (which by the way is set to the size of the first frames PIC, set to transparent) and choose actions

    In the actions goto BASIC and then ON MOUSE EVENT
    Select ON ROLL OVER
    Then select GOTOandplay FRAME 2


    <then>

    In the actions goto BASIC and then ON MOUSE EVENT
    Then select on ROLL OUT
    Gotoandplay frame 1

    it should look something like this....

    on (rollOver) {
    gotoAndPlay (1);
    }
    on (rollOut) {
    gotoAndPlay (2);
    }


    now just place your MC where you want it on the stage and test...
    That should do it! Sounds a lot harder then it looks.
    Anyway thats how I would do it.

    To get a series of individual pics just go to your library and select the MC and right click then duplicate.

    Put it on the stage and change the graphic(s)
    Do this as many times as you would need.

  4. #4
    ActionScriptShooter
    Join Date
    Nov 2000
    Posts
    259
    anyway the pics are gr8

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

Poll by Flashkit.com