dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: how do i do this??

  1. #1
    Junior Member
    Join Date
    Jan 2003
    Posts
    9

    how do i do this??

    Anybody know how to do a menu (or have any tutorials)like on this site...

    http://www.dnastudio.com/index_flash.html

    I am not too bovered about the elastic effect, just the shape moving/changing shape over each button...

  2. #2
    Grandfather to the stars bigginge's Avatar
    Join Date
    Oct 2003
    Location
    UK
    Posts
    735
    Somebody posted this code a while back which I found useful

    The line is a movieclip with this code ON it....

    onClipEvent(enterFrame){
    this._x+=(_root.xpos-this._x)/7;
    }

    And on the buttons just set the position you want the movieclip to scroll to.

    on(rollOver){
    xpos=356;
    }

    As I recall the 7 is the speed of the line moving, and play around with the x until you get what you want.

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