|
-
Scrollbar Problem during dragging the scrollbar's button
please visit this website which I had developed it with flash action scripts before... www.baharmovahed.com
It had a problem in biography page with its scrollbar, I want help to solve it.
after draging scrollbar button in top or down sides of the scrollbar, it will be out of control! and the button will go up and down with mouse pointer.
Kind Regards,
Shery
-
Use onReleaseOutside=onRelease;
gparis
-
my scrollbar have 3 parts of action scripts...
scrollbar actions frame:
txt = _parent.mc_method_txt;
msk = _parent.mc_method_mask;
txt.setMask(msk);
sc_factor = (txt._height-msk._height)/(scroll_line._height);
this.onEnterFrame = function()
{
ty =msk._y-scroll_mc._y*sc_factor;
txt._y += (ty-txt._y)/6;
};
scrollbar action button:
on(press){
this.startDrag(false,ll,tl,rl,bl);
}
on(release){
stopDrag();
}
and scrollbar action button frame:
sl = _parent.scroll_line;
ll = rl=sl._x;
tl = sl._y;
bl = sl._y+sl._height;
I don't have control on scrollbar moving, I am an amateur in flash action script and I don't know where I can replace the previous helping statement.
-
on(release, releaseOutside)
gparis
-
Dear gparis,
Thanks so much for your help, I hope your more success in advance.
Best Regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|