• Lucid Dreaming - Dream Views




    Results 1 to 11 of 11
    1. #1
      !DIREKTOR! Adam's Avatar
      Join Date
      Jan 2007
      Gender
      Location
      Aquanina's closet
      Posts
      5,195
      Likes
      34

      Basic Flash help needed.

      Does anyone know how to make simple flash animation, something simple like this:

      http://www.sherylcrow.com/

      I want to be able to replicate the movement of the buttons on the bottom of the page, and have them as links, does anyone know how to do this?

      Cookie in it for any help

      Thanks,
      Adam.

    2. #2
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      you'll need one of these
      (\_ _/)
      (='.'=)
      (")_(")

    3. #3
      Eprac Diem arby's Avatar
      Join Date
      May 2006
      LD Count
      i/0
      Gender
      Location
      Canada
      Posts
      1,957
      Likes
      52
      Quote Originally Posted by Ynot View Post
      you'll need one of these
      lulz

      In actuality, just open flash and tween the buttons then open the actionscript panel and put this on the button:

      Code:
      on(release){
          getUrl(url)
      }
      Where url is the url of the site you want in quotes. getUrl("dreamviews.com") would fetch you dreamviews.

    4. #4
      !DIREKTOR! Adam's Avatar
      Join Date
      Jan 2007
      Gender
      Location
      Aquanina's closet
      Posts
      5,195
      Likes
      34
      Tween the buttons? I am new to all this lol

    5. #5
      Eprac Diem arby's Avatar
      Join Date
      May 2006
      LD Count
      i/0
      Gender
      Location
      Canada
      Posts
      1,957
      Likes
      52
      =O I thought you had flash experience.

      Probably thinking of someone else. Anyway, first you need to get flash. You can get the trial off the adobe web site. Then, look at some tutorials

    6. #6
      !DIREKTOR! Adam's Avatar
      Join Date
      Jan 2007
      Gender
      Location
      Aquanina's closet
      Posts
      5,195
      Likes
      34
      I have Flash 8 on my PC - I can do basic stuff, like fixing your link when you had a flash sig and I made the snowing signature before I was told to remove that.

      But this motion stuff is all new to me.. Are you able to help at all? I got banned from a Flash forum for posting that link and asking for help... Fucking cock jockeys!!!

      Anyhoo, if you could help that would be great. I have everything I need, just don't know how to do it.

      Thanks,
      Adam.

    7. #7
      Member Achievements:
      1 year registered Veteran First Class 10000 Hall Points
      wasup's Avatar
      Join Date
      Oct 2003
      Gender
      Posts
      4,668
      Likes
      21
      Wow, cock jockeys' indeed.

      There are two ways to do this. The easier way, but maybe not as cool, would be to simply set animations on button hover and button hover off. Search how to do "shape tweening" in flash. What you basically do is set the button in the beginning, and in the end you want it to be rotated and slightly larger. Set that tween as the animation for hover over. For hover off, simply do it backwards. The other way would be to do it entirely in code.

      Basically, (I haven't done flash for several years so forgive me, this won't be correct code at all but it's what it would be like)
      on (hover){
      if (xscale<150){
      if (yscale < 150){
      xscale =+2
      yscale = +2
      }
      }
      if (rotation<45){
      rotation =+2
      }

      That code is completely wrong, but it's the general idea. What you want to do is make it say that whenever the button is hovered, you want to increase the size (xscale and y scale) until it reaches the desired size (hence "if x/yscale is less than whatever). Do the same for rotation. For hover off, do the same thing but backwards. Personally I would go with the code, because it's A) 100 times easier to modify and you can easily repeat it to add to different buttons, instead of animating a bunch of buttons, as well as letting you very quickly change how it is animated B) I hate shape tweens as well as animating buttons C) straightforward.

    8. #8
      !DIREKTOR! Adam's Avatar
      Join Date
      Jan 2007
      Gender
      Location
      Aquanina's closet
      Posts
      5,195
      Likes
      34
      Sweet, sounds simple enough lol.

      I will try google again

      Thanks,
      Adam

    9. #9
      !DIREKTOR! Adam's Avatar
      Join Date
      Jan 2007
      Gender
      Location
      Aquanina's closet
      Posts
      5,195
      Likes
      34
      OKay so I managed to create the movement, but having trouble getting it to only move on hover over, and getting the link to work

    10. #10
      Member Achievements:
      1 year registered Veteran First Class 10000 Hall Points
      wasup's Avatar
      Join Date
      Oct 2003
      Gender
      Posts
      4,668
      Likes
      21
      Are you doing it with the code? Make sure it's set to move only when the mouse is hovered over. And for the link, you have to set so "on release" it opens up a link.

    11. #11
      !DIREKTOR! Adam's Avatar
      Join Date
      Jan 2007
      Gender
      Location
      Aquanina's closet
      Posts
      5,195
      Likes
      34
      Well I got the links working for now - will work on the movement more tomorrow when I have time

    Bookmarks

    Posting Permissions

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