Ask a Question related to Macromedia Director Basics, Design and Development.
-
Lynds777 #1
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
-
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... -
Slider
Note: setThumbValue is no longer a method as of Flex version 1.5 -
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? -
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... -
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... -
JB #2
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



Reply With Quote

