Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default slider??

    Hey there.

    Looking for help creating a slider. I have the box (for sliding created), the
    line I wish it to move across and the invisible squares for hotspots. I am
    unsure how to lock the slider to the line. The slider is to show a different
    picture when it intersects with the different hotspots. Very like this
    [url]http://www.palmone.com/us/products/handhelds/tungsten-t3/[/url] << if u take the
    tour and select product features u can see around the T3.

    Cheers

    Lynds

    Lynds777 Guest

  2. Similar Questions and Discussions

    1. Image Slider
      I was wondering if it was possible to create a slider for my image annotation...I found that movie annotations contain an entry for controlling the...
    2. Slider
      Note: setThumbValue is no longer a method as of Flex version 1.5
    3. Time Slider with Avi
      I know it is easy to have a time slider with a QT movie but how could I do one with an AVI, anyone have any idea?
    4. slider bar for avi?
      Hello, I've just completed my first CD-ROm project in MX. Afterwards I've discovered that my .MPEG video file has been imported as QT not .avi...
    5. navigation by slider?
      Hi all, perhaps someone has an idea: Whats the best way to make the navigation of a movie with a slider, (you move the slider and the movie...
  3. #2

    Default Re: slider??

    If you size things so the background 'line' sprite is wide enough to
    intercept the mouse clicks you could do a quick and dirty script like
    this.


    on mouseDown me
    mySprite = me.spriteNum
    endMargin = 20 -- range limits
    repeat while stillDown()
    H = min( sprite(mySprite).right - margin, max( sprite(mySprite).left +
    margin, mouseH() ))
    sprite(mySprite + 1).locH = H -- sprite 1 up from base is the moving
    handle
    updateStage
    end repeat
    -- identify evenly distributed picture num

    picNum = min(1, ( H - sprite(mySprite).left) / 10)

    sprite(5).member = "libImage" & string(picNum)


    -- the last 2 lines identify which of 10 was selected, assigning the
    image. a range of members names libImage1 to libImage10 are expected.

    Hope you can adapt this
    JB Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139