Groups > Multimedia > Macromedia Flash > Re: How to create Slide bar that control length of a bar




How to create Slide bar that control length of a bar

How to create Slide bar that control length of a bar
Sun, 11 May 2008 05:38:26 +000
I have a bar chart and I want this bar to change its length when user drag the
control on flash default SLIDE component. How to do it ? Thanks !!!
Post Reply
Re: How to create Slide bar that control length of a bar
Sun, 11 May 2008 06:22:23 +000
Post Reply
Re: How to create Slide bar that control length of a bar
Sun, 11 May 2008 09:25:02 +000
Thanks !!

 Could you pls let me know any link to tutorials on how to create own scrollbar

???

 I am serious to learn and I have taken a class already. However the class did 
not touch on this one.

 best
Post Reply
Re: How to create Slide bar that control length of a bar
Sun, 11 May 2008 13:13:21 +000
really it's only a matter of using startDrag() and stopDrag() methods, and then

polling the position of the 'puck' in relation to it's travel area, converting 
it to a percentage and using that value to effect whatever you want.

 here is some discussion on the subject, related to scrolling an image within a

window, but the principles are the same - there is also code and an example 
file 
http://forums.flashgods.org/scrolling-an-image-within-a-fixed-window-t247.html
Post Reply
about | contact