dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Barneys.com scrolling

  1. #1
    Senior Member
    Join Date
    Jun 2000
    Posts
    138
    I am curioous as to how they have it scroll to the correct spot when you press the button, can anyone help?

  2. #2

    Samuel C. Granato
    Multimedia Utopia
    Moderator

    Join Date
    Jun 2000
    Posts
    410
    Do you know any action script?
    You have to use variables, the get property, and positions
    functions.

    You then:
    Set Variable: "/:xpos" = 248.5

    and then
    Set Variable: "x" = GetProperty ( "../pics", _y)
    Set Variable: "y" = x - /:xpos
    Set Property ("../pics", X Position) = x - (y / 18)

    Finally
    you make the buttons go to what ever position you want.

    If you don't understand I would suggest going to the actionscript forum. Hope this helps.

    Diavolo

    [Edited by diavolo on 08-09-2000 at 04:54 AM]

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