Hi,
The slider plugin beeing soooo standard, I thought about using the paragraph scrollbar as a slider.
I am trying to get scrollbar position, as compared to scrollbar range to be able to get a percentage slider and use it to control another object (video, flash etc..).
I am trying..but not succeeding.
The idea was to do the following:
scrollrange = Paragraph.GetScrollRange("Paragraph1", false);
scrollpos = Paragraph.GetPos("Paragraph1");
framenumber=scollpos/(scrollrange[2]-scrollrange[1]);
Flash.Seek("3D", SEEK_SPECIFIC, framenumber);
Furthermore, let's say that I could do that (with your help, please..), how can I get a realtime response? I can only put this set of actions in a onClick or onEnter event. How can I constantly read the scrollbar position?
Thanks
Yossi
The slider plugin beeing soooo standard, I thought about using the paragraph scrollbar as a slider.
I am trying to get scrollbar position, as compared to scrollbar range to be able to get a percentage slider and use it to control another object (video, flash etc..).
I am trying..but not succeeding.
The idea was to do the following:
scrollrange = Paragraph.GetScrollRange("Paragraph1", false);
scrollpos = Paragraph.GetPos("Paragraph1");
framenumber=scollpos/(scrollrange[2]-scrollrange[1]);
Flash.Seek("3D", SEEK_SPECIFIC, framenumber);
Furthermore, let's say that I could do that (with your help, please..), how can I get a realtime response? I can only put this set of actions in a onClick or onEnter event. How can I constantly read the scrollbar position?
Thanks
Yossi
Comment