rap199
05-08-2008, 09:10 PM
Hi guys,
I'm using a scroll area that I bought, but at present the scroll bar doesn't reset when different frames are loaded. Can anyone help me with this? I'm using Flash CS3. I am new to flash, so if you have the patience to explain, i would really appreciate it.
The script for the scroller is LONG, so here are a few parts, that I think may be relevant:
function scrollContent() {
scroll_content.onEnterFrame = function()
scrollbar.slider._y = 0;
scrollbar.track._y = 0;
scrollbar._y = scroll_content._y;
initScroll();
delete scrollbar.slider.onEnterFrame
Im after the code to make the scrollbar reset and to know, where to put it.
Thank you!
I'm using a scroll area that I bought, but at present the scroll bar doesn't reset when different frames are loaded. Can anyone help me with this? I'm using Flash CS3. I am new to flash, so if you have the patience to explain, i would really appreciate it.
The script for the scroller is LONG, so here are a few parts, that I think may be relevant:
function scrollContent() {
scroll_content.onEnterFrame = function()
scrollbar.slider._y = 0;
scrollbar.track._y = 0;
scrollbar._y = scroll_content._y;
initScroll();
delete scrollbar.slider.onEnterFrame
Im after the code to make the scrollbar reset and to know, where to put it.
Thank you!